:home:

.anime.
.books.
.sched.
.picts.
.aboot.

.clip.
<?php
require_once('include/scribbles.inc');

if (
$_GET['no_layout'] != '1')
{
    require_once 
'include/layout.inc';
    
commonHeader("scribbles");
}



$scribble_filename '';

// populate the scribbles array
$scribbles scrib_array();

if (
$_GET['s'] == 'archive')
{
    
scrib_archive($scribbles);
}
else if (
$_GET['s'] == 'recent')
{
    
scrib_recent($scribbles);
}
else if (
$_GET['s'] != '')
{
    for(
$i=0$i<count($scribbles); $i++)
    {
    if (
$_GET['s'] == $scribbles[$i])
    {
        
$prev_scribble prev_scrib($scribbles$i);
        
$next_scribble next_scrib($scribbles$i);

        
$scribble_filename $scribbles[$i];

        break;
    }
    }

    
scrib_format($scribble_filename$prev_scribble$next_scribble);
}
else        
// no arguments
{
    
$prev_scribble prev_scrib($scribbles0);
    
$next_scribble next_scrib($scribbles0);
    
$scribble_filename $scribbles[0];

    
scrib_format($scribble_filename$prev_scribble$next_scribble);

    echo 
'<br><br>';

    
$prev_scribble prev_scrib($scribbles1);
    
$next_scribble next_scrib($scribbles1);
    
$scribble_filename $scribbles[1];

    
scrib_format($scribble_filename$prev_scribble$next_scribble);

    echo 
'<br><br>';

    
$prev_scribble prev_scrib($scribbles2);
    
$next_scribble next_scrib($scribbles2);
    
$scribble_filename $scribbles[2];

    
scrib_format($scribble_filename$prev_scribble$next_scribble);
}



if (
$_GET['no_layout'] != '1')
{
    
commonFooter();
}
?>





linkroll










Creative Commons License
This site is licensed under a Creative Commons License.


contact :: ivan tse :: source