Periodic Ramblings

Page Options


$show) ? 1 : 0; function verify_start($a){ global $show; global $index; global $count; if (! isset($a)){ return verify_start(1); } elseif($a >= $show){ $a = $a % $show; if ($a >= $show){$a = $a - $show;} return verify_start($a); } elseif($a < 0){ $a = $a % $show; if ($a < 0){$a = $a + $show;} return verify_start($a); } elseif($a > $index){ return verify_start($index); } elseif($index - $a + $show > $count){ return verify_start(($index - $count) % $show); } else{ return $a; } } if ($enough){ $start = verify_start($start); $i_start = $index - $start; $i_end = $i_start + $show; } else{ $start = $index; $i_start = $begin; $i_end = $end + 1; } if ($enough){ ?>= $i_start; $i--){ $img = ($i == $index) ? $tab_image_open : $ramblings[$i]['tab_image']; $img_h = $ramblings[$i]['tab_image_select']; $img_o = $ramblings[$i]['tab_image_open']; $h = $ramblings[$i]['title']; $h = strip_tags($h); $h = preg_replace("/\'|\"/",'', $h); ?>