? 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/old/backoffice/php/
File Upload :
Current File : /home/admin/public_html/old/backoffice/php/menu_left.php

<?php
session_start();
$root_path="../";
include($root_path."header.php");
$db_tm	 = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false);
$template = new Template($tpl_path);
$sql_01			=	"select * from group_data order by ID ASC";
$result_01		=	$db_tm->sql_query("SET NAMES utf8");
$result_01		=	$db_tm->sql_query($sql_01);
$numrows_01	=	$db_tm->sql_numrows($result_01);
$rows_01			=	$db_tm->sql_fetchrow($result_01);
$path				=	$rows_01['PATH'];
$TB					=	$rows_01['TB_NAME'];
$selitem			=	"group_data";
$TBTH				=	$rows_01['TB_NAME_TH'];

for($i=0;$i<$numrows_01;$i++){
	$template->assign_block_vars('fieldnamerow', array(
		"NAME"		=>	$rows_01["TB_NAME_TH"],
		"MENU"		=>	"MENU".($i+1),
		"LINK"			=>	"$rows_01[PATH]/list_data.php?TB=$rows_01[TB_NAME]&selitem=group_data&TBTH=$rows_01[TB_NAME_TH]",
	));	
	$rows_01			=	$db_tm->sql_fetchrow($result_01);
}



$temp="menu_left.tpl";
$template->set_filenames(array('body' =>$temp));
$template->assign_vars(array(
"CUR_HOST_BACKEND"=>$cur_host_backend,
"STYLE"=>STYLE,
"IMG_PATH"=>$images_path,
"TREE_PATH"=>$tree_path,
"PHP_PATH"=>$php_path,
"FULLNAME"=>$fullname,
"PATH"=>$path,
"TB"=>$TB,
"selitem"=>$selitem,
"TBTH"=>$TBTH,
));
$template->pparse('body');
?>

T1KUS90T
  root-grov@210.1.60.28:~$