Duck hunt

p _ x
Bookmark Weezywap
JarApkBmkOpera
(GMT+1)
Sunday December 3rd 2023
+
Always Post weezywap.xtgem.com on your facebook, twitter, 2go, whatsapp and instagram status! If you love WEEZYWAP and enjoy unlimited services here!
»WEEZYWAP Forum
Forum Rules | Smilies | BB Codes | Back
* ememete28 hi weezy boss,pls help me i have problem with my site. i install my php script wen i create a forum category and i go to my site homepage and click on the created forum it redirect me to my hosting site e.g error404.000webhost. com. an using uloki script. my site here http://vengeeknaija.tk

my showp.php

<?php
require("include/init.php");
if(isset($_POST['do']))
{
$do=$_POST['do'];
if($do=="forumjump")
{
$fj=htmlentities($_POST['forumjump']);
if($forum=$db->get_row("SELECT * FROM f_forums f, f_permissions p WHERE f.forumid='$fj' AND p.view='1' AND p.forumid=f.forumid AND p.groupid='$user->groupid' AND p.view='1'"))
{
$url= $config->url."f/".$fj."/".converturl($forum->name).".html";
forward($url,true);
}
exit;
}
}
if(!isset($_GET['fid']))
{
forward("index.php");
}
$forumid = intval($_GET['fid']); // Get forum ID
if(isset($_GET['p'])){ $p=$_GET['p']; }else{ $p=1; } // Check page number if not found then consider page is 1.
$forum=$db->get_row("SELECT * FROM f_forums f, f_permissions p WHERE f.forumid='$forumid' AND p.view='1' AND p.forumid=f.forumid AND p.groupid='$user->groupid'");
if(!$forum)
{
forward("index.php"); // Forum is invalid so redirect user
}
?>
<?php
include "header.php";
?>
<title><?php echo $forum->name." :: ".$config->title;?></title>
<?php
include "title.php";
?>
<?php
include "navbar.php";
include "pmbar.php";
?>

<?php

$thedate=date("U");
if(isloggedin())
{
$db->update_data("UPDATE c_users SET lastftime='$thedate', fid='$forum->forumid' WHERE userid='$user->userid'");
}
else
{
//$db->update_data("REPLACE c_guestsonline SET time2='$thedate', guestip2='$config->ip', fguest='$forum->ID'");
} print "<div class='nav'><a href=\"".$config->url."index.php\">".$config->title."</a> | ";
if($forum->pforum == "0")
{
print "<a href=\"".$config->url."f/".$forumid."/".converturl($forum->name).".html\">".$forum->name."</a>";
}
else
{
$pforum=$db->get_row("SELECT * FROM f_forums WHERE forumid='$forum->pforum'");
print "<a href=\"".$config->url."f/".$pforum->forumid."/".converturl($pforum->name).".html\">".$pforum->name."</a> | ";
print "<a href=\"".$config->url."f/".$forumid."/".converturl($forum->name).".html\">".$forum->name."</a>";
}
print "</div>";
$subforumlist = $db->select("SELECT * FROM f_forums f,f_permissions p WHERE f.forumid=p.forumid AND p.view='1' AND f.parentid='$forum->parentid' AND p.groupid = '$user->groupid' AND pforum='$forum->forumid' ORDER BY sort ASC");
///
if($subforumlist)
{
print "<div class=\"nav\">Sub-Forum</div>";
foreach($subforumlist as $subforum)
{ print "<div class='nav2'>&raquo; <a href=\"".$config->url."f/".$subforum->forumid."/".converturl($subforum->name).".html\" title=\"".$subforum->description."\">".$subforum->name."</a> [".$subforum->numposts."]</div>"; }
}
///
///
$permissionlist = $db->select("SELECT groupid FROM f_permissions WHERE editotherpost='1' AND deletepost='1' AND deleteotherpost='1' AND movethread='1' AND lockthread='1' AND forumid='$forumid'");
if($permissionlist)
{
print "Managed by: ";
foreach($permissionlist as $permission)
{
$userlist = $db->select("SELECT * FROM c_users WHERE groupid='$permission->groupid' ORDER BY groupid DESC");
foreach($userlist as $userd)
{
print "<a href=\"".$config->url."profile.php?uid=".$userd->userid."\"><font color=\"".$group[$userd->groupid]['color']."\"><b>".$userd->username."</b></font></a>, ";
}
} }
///
$start = ($p-1) * $config->numthreadsperpage;
?>
<div class="nav">Topics</span></div> <?php
$threadlist=$db->select("SELECT * FROM f_threads WHERE postforum='$forumid' ORDER BY stick DESC, lastposttime DESC LIMIT $start, $config->numthreadsperpage");


$totalrecords=0;
if($threadlist)
{
$totalrecords = $db->get_row("SELECT count(*) as count FROM f_threads WHERE postforum='$forumid' ORDER BY stick DESC, timepost DESC");
$totalrecords = $totalrecords->count;
foreach($threadlist as $thread)
{

print "<tr>";
print "<div class=\"nav2\">";
if($thread->stick == 1)
{
if($thread->locked == 1)
{
print "<img src=\"".$config->url."images/stl.gif\" border=\"0\"> ";
}
else
{
print "<img src=\"".$config->url."images/st.gif\" border=\"0\"> ";
}
}
else if($thread->locked == 0)
{
if($thread->timepost > $user->oldtime)
{
print "(new) ";
}
else
{
print "&raquo; ";
}
}
else if($thread->locked == 1)
{
print "(x) ";
}
print " <a href=\"".$config->url."t/".$thread->id."/".converturl($thread->title).".html\">".$thread->title."</a> [".$thread->numreplies."]";
print "<a href=\"".$config->url."/profile.php?uid=".$thread->lastpostid."\">".$thread->lastpostname."</a><br/>";
$pgs=ceil($numrepl/$config->numrepliesperpage);
echo "<b>Pages:</b> "; $a=1;
if($pgs==0)
print "<b><a href=\"".$config->url."t/".$thread->id."/p/1/".converturl($thread->title).".html\">1</a></b> ";
if($pgs>4) {
$pgg=4; }
else { $pgg=$pgs; }
for($a=1;$a<=$pgg;$a++)
{ print "<b><a href=\"".$config->url."t/".$thread->id."/p/$a/".converturl($thread->title).".html\">$a</a></b> "; }
if($pgs>4)
{ echo "... <b><a href=\"".$config->url."t/".$thread->id."/p/$pgs/".converturl($thread->title).".html\">Last</a></b>"; } print "</div>"; } }
print "<div class='nav'>";
$pages=pagination($totalrecords,$p,$config->numthreadsperpage);

if(is_array($pages))
{
print "Pages:&nbsp;&nbsp;";
foreach($pages as $key => $val)
{
if($val == $p)
{ print $key."&nbsp;&nbsp;"; }
else{ print "<a href=\"".$config->url."f/".$forumid."/p/".$val."/".converturl($forum->name).".html\">".$key."</a>&nbsp;&nbsp;"; }

}
print "</div>";
}
print "<div class='nav'>Options</div>";
print "<div class='nav2'>&raquo; <a href='".$config->url."newtopic.php?fid=".$forumid."'>Post New Topic</a></div>";
print "<div class='nav2'>&raquo; <a href='".$config->url."newtopic.php?fid=".$forumid."&s=1'>Post New Sticky Topic</a></div>";
print "<div class='nav'>Back:</div><div class='nav2'>";
print forumjump($forumid);
print '</div>'; ?><?php include "footer.php"; ?>
2016-09-03 19:49 (Edited 2016-09-04 00:42 by ememete28 ) · (0)
* Weezy * ememete28 Where didyu download the script from?
2016-09-04 01:33 · (0)
* ememete28 * Weezy guruslodge.com script name (full2mob)
2016-09-04 04:55 · (0)
* Weezy * ememete28 Login to your ftp, click on the forum folder and tell me the available files there ..i mean their names!
2016-09-04 20:36 · (0)

Online: Guests: 1

Translate
Pages
Copyright © 2023 WEEZYWAP
facebook twitter whatsapp google plus
Home | About Us | Advertise | Frequently Asked Question | Contact Us | Partners | Disclaimer | Terms of Services | Invite Friends | Credits



Online: 1 , Today: 490, Hits: 7383520
Last modified: 27-08-2018 11:42:51 pm