getglobal(); $infoboard->checksess(); $infoboard->isconnect(); if($iscon["admin"]) $iscon["boardinfo"] = 0; $gid=$infoboard->gid; if(!$gid){ $gid = $infoboard->checkidgroup(); if(!$gid){ echo "Empty Group!"; exit(); } }else{ $infoboard->checkgroupname($gid); } $iscon["gname"] = ""; if($infoboard->gname) $iscon["gname"] = $infoboard->gname; if($infoboard->action == "topic"){ if($msg = $infoboard->checkpost($gid, $infoboard->gread)){ refback($msg); } } $infoboard->stringurl(); $htm=$infoboard->htm; $pnext=$infoboard->pnext; $iscon["base_url"]=str_replace($_SERVER["DOCUMENT_ROOT"], "", dirname($_SERVER["PHP_SELF"]))."/"; if($iscon["base_url"] == "//") $iscon["base_url"]="/"; $print= ""; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; switch($infoboard->action){ case"topic"; $print.= $infoboard->titlequestion($gid, $htm); break; case"ins"; $print.= $infoboard->titlequestion($gid, $htm); break; default; $print.= $iscon["title"]; } $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $print.= "\n"; $onload=""; if($infoboard->action == "addnew"){ if($gid) $onload=" onload=\"groupid(".$gid.");\" "; } $print.= "\n"; $print.= "
\n"; $print.= "
"; $print.= "
"; $print.= "
"; if($iscon["showlang"] > 0){ $print.= "\"\" "; $print.= " \"\""; $print.= "
\n"; } $print.= "
\n"; $print.= "Search : "; $print.= "
\n"; $print.= "
\n"; $print.= "
"; if(file_exists("./data/topbanner.dat")){ $ext = $infoboard->isread("./data/topbanner.dat"); $topbanner = $infoboard->showimg("./data/", "topbanner", $ext, 1, "", "", 0, 0, 1); }else{ $topbanner = "\n"; } $print.= "
\n"; $print.= "\n"; $print.= $topbanner; $print.= "\n"; $print.= "
\n"; $print.= "
\n"; $print.= $infoboard->isread("./data/tophead.txt"); $print.= "
\n"; $print.= "
\n"; $print.= "
\n"; $print.= "\n"; $print.= "
"; if($iscon["user"]){ $print.= "txtmod()."user".$iscon["_s"].$gid.$infoboard->extmod()."\">".$iscon["lang"][15]." : ".$iscon["user"]."\n"; }else{ $print.= "txtmod()."admin".$iscon["_s"].$gid.$infoboard->extmod()."\">".$iscon["lang"][91]; if($iscon["admin"]) $print.= " : ".$iscon["admin"]; $print.= "\n"; } $print.= "
\n"; $print.= "
\n"; $print.= "
\n"; $print.= "
\n"; $print.= "
\n"; if(!$infoboard->action){ if($iscon["showslide"]){ $print.= "\n"; } $print.= $infoboard->showcoverbanner(1); $print.= "
"; }else{ $print.= "
\n"; } $print.= "
\n"; $iscon["qlevel"] = $infoboard->qlevel; $iscon["alevel"] = $infoboard->alevel; $iscon["gread"] = $infoboard->gread; $iscon["checkq"] = $infoboard->checkq; $iscon["checka"] = $infoboard->checka; $iscon["checkpic"] = $infoboard->checkpic; $iscon["uppic"] = $infoboard->uppic; if(!$infoboard->action){ $print.= tabuser(1, $gid); }else{ $print.= $infoboard->showbanner(4, "center"); } switch($infoboard->action){ case"addnew"; $print.= $isform->switchform("", "", "", "", 1, $pnext); break; case"topic"; $print.= $infoboard->questiondetail($gid, $htm); if($infoboard->checklevel($infoboard->alevel)) $print.= $isform->switchform($infoboard->qid, "", $htm, "", 2, $pnext); break; case"ins"; $idpage = $gid.$iscon["_s"].$htm.$iscon["_s"].$pnext; if($infoboard->qid > 0) $req=3; else $req=4; $print.= $infoboard->insertquestion($req, $idpage, $infoboard->qid, $infoboard->aid, $pnext); $print.= $isform->switchform($infoboard->qid, $infoboard->aid, $htm, $infoboard->border, $req, $pnext); $print.= "
\n"; break; case"edit"; $idpage = $gid.$iscon["_s"].$htm.$iscon["_s"].$pnext; $print.= $isform->editquestion($idpage, $infoboard->target, $infoboard->cid, $pnext); break; case"report"; $idpage = $gid.$iscon["_s"].$htm.$iscon["_s"].$pnext; $print.= $infoboard->formreport($idpage); break; case"user"; $print.= $infoboard->formprofile(); break; case"active"; if($infoboard->checkactive($infoboard->isuser, $infoboard->iscode)){ refurl($infoboard->isuser." Active Code", "./"); }else{ refurl("Cannot Active Code", "./"); } break; case"forget"; if(!$infoboard->checkmailforget($infoboard->isuser, $infoboard->iscode)){ refurl("Cannot Forget", "./"); } break; case"egroup"; $print.= $infoboard->egroupform($iscon["idadmin"]); break; case"config"; $print.= formsetting($iscon["idadmin"]); break; case"topbanner"; $print.= topbanner($topbanner); break; case"banner"; $print.= formbanner(); break; case"blockad"; $print.= formblockad(); break; case"slideshow"; $print.= formslideshow(); break; case"icon"; $iconcount=$infoboard->isread("./data/icon.dat"); $print.= formicon($iconcount); break; case"member"; $print.= $infoboard->listuser(); break; case"blockuser"; $print.= $infoboard->listblockuser(); break; case"admin"; $print.= $infoboard->listadmin(); break; case"proof"; $print.= $infoboard->checkproof(); break; case"pic"; $print.= $infoboard->checkpicproof(); break; case"group"; $print.= $infoboard->groupid(1); $print.= $infoboard->groupid(0); break; case"search"; if($infoboard->isexp[2]){ $dirsearch = "./data/search/"; if(isset($iscon["friendly"])) $getfriendly = $iscon["friendly"]; else $getfriendly=false; $qry =$infoboard->isexp[2]; if ($qry){ $dir_depth=0; $cur_path = array($dirsearch); $results = array(""); $topic = array(""); $matches=0; $qry=strtolower($qry); if (strcmp($qry, "")!=0) search_dir(); for ($a=0; $a<$matches; $a++) { $idnum = eregi_replace($dirsearch,"",$results[$a]); $idnum = eregi_replace(".txt","",$idnum); $idnum = eregi_replace("cache","",$idnum); $idnum = eregi_replace("\.",$iscon["_s"],$idnum); if($getfriendly) { $gettitle = $infoboard->urlfriendly($topic[$a]); }else{ $gettitle = ""; } $showtopic[] = "txtmod()."topic".$idnum.$gettitle.$infoboard->extmod()."\" class=\"htopic\">".$topic[$a]."
".$detail[$a]."

"; } if ($matches){ for ($i = 0 ; $i < $matches ; $i++) { $print.= $showtopic[$i]."
" ; } }else{ $print.= "Your search - ".$infoboard->isexp[2]." - did not match any documents. "; } } } break; default; $print.= $infoboard->isread("./data/home.txt"); if($iscon["show_lastpost"]) $print.= $infoboard->firstupdate(); $print.= $infoboard->first(); } $print.= "
\n"; $print.= "
\n"; if($infoboard->action){ $print.= "
\n"; $print.= "\"\"\n"; $print.= "
    \n"; $print.= "
  • \n"; if(!$iscon["idadmin"]) $print.= tabuser("", $gid); $print.= "
  • \n"; $print.= "
\n"; $print.= $infoboard->sideuser($gid); $print.= $infoboard->sideadmin($gid); $print.= "
 
\n"; if($infoboard->action){ $print.= $infoboard->sidegroup(); if($infoboard->action != "group") $print.= $infoboard->sidetopic(); } $print.= $infoboard->showbanner(3, "center"); $print.= "
\n"; } $print.= "
 
\n"; $print.= "
\n"; $print.= "
 
\n"; $print.= "
\n"; $print.= "
\n"; $print.= "
\n"; $print.= "
\n"; $print.= $infoboard->showbanner(2, "center"); $print.= "
\n"; $print.= "\"FEED\"\n"; $print.= "   \n"; $print.= "\"CANNOT.INFO\"\n"; $print.= "   \n"; $print.= "\"CSS\"\n"; $print.= "
\n"; $print.= "
\n"; $print.= "

".$iscon["copyright"]."

\n"; $print.= $infoboard->checkon("./data/on.dat"); $print.= "
\n"; $print.= "\n"; $print.= "\n"; $infoboard->isclose(); echo $print; ?>