<?PHP
/*
* Copyright (c) www.baojisky.com All rights reserved. 
*/
ob_start(); 
header("Content-type: text/html;charset=gbk");//Êä³ö±àÂë,±ÜÃâÖÐÎÄÂÒÂë
$root_path='../..';
include($root_path.'/php/connect_sub.php');
include($root_path.'/php/sub.php');
include($root_path."/php/img_sub.php");
include($root_path.'/php/page_sub_old.php');
include($root_path.'/admin/check.php');
 

$result	=	$db->query("SELECT * FROM {$db_sux}papers WHERE  qid='$qid'");		
$gb 	=	$db->fetch_array($result);

$result_ban	=	$db->query("SELECT * from {$db_sux}papers_ban where qid='$qid' and bid='$bid'");	
$gb_ban = $db->fetch_array($result_ban);

//Í¼Æ¬
if($gb_ban[ban_pic]!=''){$ban_pic=$root_path.'/upload/paper_file/s'.$gb_ban[ban_pic];}else{$ban_pic=$root_path.'/images/no_papers.jpg';}

include(parse_template('Newspaper_ban'.'_x',$root_path.'/tpl/admin/',$root_path.'/admin/system/'));

ob_end_flush();
?>