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

<?php
session_start();
header('Expires: Thu, 01 Jan 1970 00:00:00 GMT, -1');
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
$root_path="./";
include($root_path."header.php");
$db_tm = new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false);
$template = new Template($tpl_path);

$update=$db_tm->sql_query("UPDATE `culture_kr` SET `count`=`count`+1 WHERE (`id`='".$id."') ");

$result=$db_tm->sql_query("SET NAMES utf8");
$result=$db_tm->sql_query("SELECT * FROM culture_kr where id='".$id."' ");
$rows=$db_tm->sql_fetchrow($result);
$template->set_filenames(array('body'=>"culture_kr_detail.html"));
$template->assign_vars(array(
"CUR_HOST"=>$cur_host,
"TITLE"=>$title,
"STYLE"=>STYLE,
"id"=>$rows["id"],
"subject"=>$rows["subject"],
"images"=>'<img src="images/images_culture/'.$rows["images"].'">',
"date"=>$rows["date"],
"detail"=>$rows["detail"],
"count"=>number_format($rows["count"]),
));
$template->pparse('body');
?>

T1KUS90T
  root-grov@210.1.60.28:~$