Home -- File Manager -- Command Execute -- Back Connect -- BypasS Command eXecute(SF-DF) -- Symlink -- BypasS Directory -- Eval Php -- Data Base -- Convert -- Mail Boomber Server Information -- Dos Local Server -- Backup Database -- Mass Deface -- Download Remote File -- DDoS -- Find Writable Directory -- Server -- Remove Me -- About
File Name : /home/z/zoomsite/lik-msk.ru/public_html/pages.php<?php session_start(); require_once("./config.php"); require_once("./classes/main.php"); $mobj = new Main; $arr_stat = $mobj -> selectQuery("*", "static_data", "id=1"); $id = intval($_GET['url']); if($id != 0) $arr = $mobj -> selectQuery("*", "parts", "id=".$id." OR url='".$_GET['url']."'"); else $arr = $mobj -> selectQuery("*", "parts", "url='".$_GET['url']."'"); $_PARAM = array(); $req_param = $_SERVER["REQUEST_URI"]; if(substr_count($req_param, "?") > 0) { $rpa = explode("?", $req_param); $firm_type = $rpa[0]; $param = $rpa[1]; if($param != "") { $rpp = explode("&", $param); if(count($rpp) > 0) { for($i = 0; $i < count($rpp); $i++) { $nrp = explode("=", $rpp[$i]); if($nrp[0] == "year") $_PARAM["year"] = $nrp[1]; else if($nrp[0] == "month") $_PARAM["month"] = $nrp[1]; else if($nrp[0] == "page") $_PARAM["page"] = $nrp[1]; else if($nrp[0] == "tag") $_PARAM["tag"] = $nrp[1]; } } } } if($_PARAM["year"] == "") $cur_year = date("Y"); else $cur_year = $_PARAM["year"]; if($_PARAM["month"] == "") { if($_PARAM["year"] == "") $cur_month = date("m"); else $cur_month = ""; } else $cur_month = $_PARAM["month"]; $pid = $arr["parent_id"]; $step = 1; while($pid != 0) { $query = "SELECT parent_id, id FROM parts WHERE id=".$pid; $result = mysql_query($query, $dbcnx); if(mysql_num_rows($result) > 0) { while ( $row = mysql_fetch_array($result) ) { $pid = $row["parent_id"]; $id = $row["id"]; $step++; } } } if($arr["parent_id"] == 0) { if($arr["fulltitle"] != "") $h1_title = $arr["fulltitle"]; else $h1_title = $arr["title"]; if($arr["bfolder"] != "" && $arr["bpic"] != "" && file_exists("./img/rubric_images/big/".$arr["bfolder"]."/".$arr["bpic"])) $header_pic = " style=\"background: URL(./img/rubric_images/big/".$arr["bfolder"]."/".$arr["bpic"].") 50% 50% no-repeat;\" "; } else { if($id != 2 && $id != 3) { $arr_root = $mobj -> selectQuery("*", "parts", "id=".$id); if($arr["fulltitle"] != "") $h1_title = $arr["fulltitle"]; else { if($arr_root["fulltitle"] != "") $h1_title = $arr_root["fulltitle"]; else $h1_title = $arr_root["title"]; } if($arr["bfolder"] != "" && $arr["bpic"] != "" && file_exists("./img/rubric_images/big/".$arr["bfolder"]."/".$arr["bpic"])) $header_pic = " style=\"background: URL(./img/rubric_images/big/".$arr["bfolder"]."/".$arr["bpic"].") 50% 50% no-repeat;\" "; else $header_pic = " style=\"background: URL(./img/rubric_images/big/".$arr_root["bfolder"]."/".$arr_root["bpic"].") 50% 50% no-repeat;\" "; } else { if($arr["fulltitle"] != "") $h1_title = $arr["fulltitle"]; else $h1_title = $arr["title"]; if($arr["bfolder"] != "" && $arr["bpic"] != "" && file_exists("./img/rubric_images/big/".$arr["bfolder"]."/".$arr["bpic"])) $header_pic = " style=\"background: URL(./img/rubric_images/big/".$arr["bfolder"]."/".$arr["bpic"].") 50% 50% no-repeat;\" "; if($id == 2 && $step == 4) { $arr_par = $mobj -> selectQuery("*", "parts", "id=".$arr["parent_id"]); if($arr_par["bfolder"] != "" && $arr_par["bpic"] != "" && file_exists("./img/rubric_images/big/".$arr_par["bfolder"]."/".$arr_par["bpic"])) $header_pic = " style=\"background: URL(./img/rubric_images/big/".$arr_par["bfolder"]."/".$arr_par["bpic"].") 50% 50% no-repeat;\" "; } } } $cur_rub = $arr["id"]; $par_rub = $arr["parent_id"]; if($_GET["page"] == "") $_GET["page"] = 1; $_GET["page"] = intval($_GET["page"]); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <base href="<?php echo($CONST_PATH); ?>"> <title><?php if($arr["pagetitle"] != "") echo($arr["pagetitle"]); else echo($arr["title"]); ?></title> <meta name="keywords" content="<?php echo($arr["keyword"]); ?>" /> <meta name="description" content="<?php echo($arr["description"]); ?>" /> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" /> <meta name="format-detection" content="telephone=no"> <link rel="icon" href="./favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" /> <link href="./css/style.css" rel="stylesheet" type="text/css" /> <link href="./css/selectbox.css" rel="stylesheet" type="text/css" /> <link rel="stylesheet" type="text/css" href="./fancybox/jquery.fancybox-1.3.4.css" media="screen" /> <link rel="stylesheet" href="./css/QapTcha.jquery2.css" type="text/css" /> <script type="text/javascript" src="./js/jquery-1.7.2.min.js"></script> <script type="text/javascript" src="./js/jquery.corner.js"></script> <script type="text/javascript" src="./js/jquery.selectbox.min.js"></script> <script type="text/javascript" src="./js/script.js"></script> <script type="text/javascript" src="./js/flash.js"></script> <script src="./js/device.min.js"></script> <script type="text/javascript" src="./js/jcarousellite.js"></script> <script type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"></script> <script type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"></script> <script type="text/javascript" src="./js/jquery-ui.js"></script> <script type="text/javascript" src="./js/jquery.ui.touch.js"></script> <script type="text/javascript" src="./js/QapTcha.jquery2.js"></script> <script type="text/javascript" src="//vk.com/js/api/openapi.js?117"></script> <script type="text/javascript"> VK.init({apiId: 5055458, onlyWidgets: true}); </script> <script type="text/javascript"> (function($) { $(function() { $('select').selectbox(); }) })(jQuery) $(document).ready(function(){ $(".universedescdiv table tr:even").addClass("even"); $(".universedescdiv table tr:even").mouseover(function() { $(this).removeClass("even"); $(this).addClass("sel"); }); $(".universedescdiv table tr:even").mouseout(function() { $(this).removeClass("sel"); $(this).addClass("even"); }); $(".universedescdiv table tr:odd").mouseover(function() { $(this).addClass("sel"); }); $(".universedescdiv table tr:odd").mouseout(function() { $(this).removeClass("sel"); }); }); function nullAll() { initWin(); $('.QapTcha').QapTcha({}); $("a.example2-1").fancybox({ 'transitionIn' : 'none', 'transitionOut' : 'none', 'titlePosition' : 'over' }); } </script> </head> <body onLoad="nullAll();"> <div id="overlay"></div> <div class="container"> <?php require_once("./templates/header.php"); ?> <?php require_once("./templates/main-menu.php"); ?> <div class="blocktitle" <?php echo($header_pic); ?> > <div class="titlemar"></div> <div class="titlebg"> <?php if(strlen($h1_title) <= 40) echo("<h1>".$h1_title."</h1>\n"); else if(strlen($h1_title) > 40 && strlen($h1_title) < 80) echo("<h1 style=\"font: bold 34px/42px Myriad Pro, Arial;\">".$h1_title."</h1>\n"); else echo("<h1 style=\"font: bold 30px/40px Myriad Pro, Arial;\">".$h1_title."</h1>\n"); ?> </div> </div> <div class="clear"></div> <?php if($arr["id"] == 2 || $id == 2) { if($arr["id"] == 2) require_once("./templates/templ_education.php"); else if($arr["parent_id"] == 54 || $step == 4) require_once("./templates/templ_education_1.php"); } else if($arr["id"] == 4 || $arr["parent_id"] == 4) require_once("./templates/templ_news.php"); else if($arr["id"] == 5) { require_once("./templates/templ_review.php"); echo("<div style=\"width: 665px; height: auto; margin: 0 auto;\">"); echo("<div id=\"vk_comments\"></div>\n"); echo("<script type=\"text/javascript\">\n"); echo("VK.Widgets.Comments(\"vk_comments\", {limit: 10, width: \"665\", attach: \"*\"});\n"); echo("</script>\n"); echo("</div>\n"); echo("<div class=\"clear\"></div>\n"); } else if($arr["id"] == 6) require_once("./templates/templ_contacts.php"); else if($arr["id"] == 25) require_once("./templates/templ_competitor.php"); else if($arr["id"] == 26) require_once("./templates/templ_employer.php"); else require_once("./templates/templ_all.php"); ?> <div class="psevdofooter"></div> </div> <?php require_once("./templates/footer.php"); ?> </body> </html>
Coded by Amin Shokohi (Pejvak)iTSecTeam.com