entry as $entry) { if(!preg_match('/a href="(.*?)".*?/',$entry->content,$reg)) continue; if($reg[4]>$reg[3]) { $x = 68; $y = 90; } else { $x = 120; $y = 90; } $img = <<< EOB
  • EOB; if($x>$y) $hp[] = $img; else $vp[] = $img; } switch(count($vp)) { case 0: case 1: echo "
    {$hp[0]}\n{$hp[1]}\n{$hp[2]}
    \n"; echo "
    {$hp[3]}\n{$hp[4]}\n{$hp[5]}
    \n"; echo "
    {$hp[6]}\n{$hp[7]}\n{$hp[8]}
    \n"; break; case 2: echo "
    {$hp[0]}\n{$hp[1]}\n{$hp[2]}
    \n"; echo "
    {$vp[0]}\n{$hp[3]}\n{$vp[1]}\n
    \n"; echo "
    {$hp[4]}\n{$hp[5]}\n{$hp[6]}
    \n"; break; case 3: echo "
    {$hp[0]}\n{$hp[1]}\n{$hp[2]}
    \n"; echo "
    {$vp[0]}\n{$vp[1]}\n{$vp[2]}\n
    \n"; echo "
    {$hp[3]}\n{$hp[4]}\n{$hp[5]}
    \n"; break; case 4: echo "
    {$hp[0]}\n{$hp[1]}\n{$hp[2]}
    \n"; echo "
    {$vp[0]}\n{$vp[1]}\n{$vp[2]}\n{$vp[3]}
    \n"; echo "
    {$hp[3]}\n{$hp[4]}\n{$hp[5]}
    \n"; break; case 5: echo "
    {$vp[0]}\n{$hp[0]}\n{$vp[1]}\n
    \n"; echo "
    {$hp[1]}\n{$vp[2]}\n{$hp[2]}\n
    \n"; echo "
    {$vp[3]}\n{$hp[3]}\n{$vp[4]}\n
    \n"; break; case 6: echo "
    {$vp[0]}\n{$vp[1]}\n{$vp[2]}
    \n"; echo "
    {$hp[0]}\n{$hp[1]}\n{$hp[2]}
    \n"; echo "
    {$vp[3]}\n{$vp[4]}\n{$vp[5]}
    \n"; break; case 7: echo "
    {$vp[0]}\n{$hp[0]}\n{$vp[1]}\n
    \n"; echo "
    {$vp[2]}\n{$hp[1]}\n{$vp[3]}\n
    \n"; echo "
    {$vp[4]}\n{$hp[2]}\n{$vp[5]}\n
    \n"; break; case 8: echo "
    {$vp[0]}\n{$hp[0]}\n{$vp[1]}\n
    \n"; echo "
    {$vp[2]}\n{$hp[1]}\n{$vp[3]}\n
    \n"; echo "
    {$vp[4]}\n{$hp[2]}\n{$vp[5]}\n
    \n"; break; case 9: echo "
    {$vp[0]}\n{$vp[1]}\n{$vp[2]}
    \n"; echo "
    {$vp[3]}\n{$hp[0]}\n{$vp[4]}\n
    \n"; echo "
    {$vp[5]}\n{$vp[6]}\n{$vp[7]}
    \n"; break; case 10: echo "
    {$vp[0]}\n{$vp[1]}\n{$vp[2]}
    \n"; echo "
    {$vp[3]}\n{$vp[4]}\n{$vp[5]}\n{$vp[6]}
    \n"; echo "
    {$vp[7]}\n{$vp[8]}\n{$vp[9]}
    \n"; break; } ?>

    Other trivial hacks on this server: GeoIP, BOSS