Beispiel #1
0
		public function _enable() {
			$ret=new stdClass();
			$ret->success=true;
			$r= new JTDocument($_SESSION['login_user_id']);
			$r->select( $_GET['id'] );
			$r->data['enable'] = $_GET['enable'];
			$r->update();
			die( json_encode($ret) );
		}
		</div>
	</section>
	<section class="fullbg row2 serviceCnt-wrap download-wrap">
		<div class="bg"></div>
		<div class="wrapper">
			<div id="infTab" class="download-container serviceCnt-container tab_block">
				<div class="row1">
				    <ul class="tabs cf">
				        <li> <a id="tab1Btn" href="#tab1" id="" class="txt-2">開戶文件</a></li>
				        <li> <a id="tab2Btn" href="#tab2" id="" class="txt-2">交易文件</a></li>
				        <li> <a id="tab3Btn" href="#tab3" id="" class="txt-2">異動文件</a></li>
				        <li> <a id="tab4Btn" href="#tab4" id="" class="txt-2">公開資料</a></li>
				    </ul>
				</div>
				<?php 
$doc = new JTDocument();
?>
				<div class="row2 tab_container">
					<!--  #tab1 .tab_content  START  !!  -->
					<!-- 開戶文件 -->
					<div id="tab1" class="tab_content">
					   <section class="mod mod-tab_cnt">
							<?php 
$rs = $doc->all('開戶文件');
?>
					        <!-- 內容 -->
							<ul class="download-list cf">
								<?php 
foreach ($rs as $d) {
    ?>
											<li class="download-item"><a href="<?php 
Beispiel #3
0
<?
	require_once('./local.inc');
	$smarty = new JSmartyTemplate($templateName);
	$news = new JTNews();
	$smarty->assign('news_count', $news->count());
	$team = new JTTeam();
	$smarty->assign('team_count', $team->count());
	$advisory = new JTAdvisory();
	$smarty->assign('advisory_count', $advisory->count());
	$report = new JTReport();
	$smarty->assign('report_count', $report->count());
	$document = new JTDocument();
	$smarty->assign('document_count', $document->count());
	$saleschannel = new JTSaleschannel();
	$smarty->assign('saleschannel_count', $saleschannel->count());
	$faq = new JTFAQ();
	$smarty->assign('faq_count', $faq->count());
	$user = new JTUser();
	$smarty->assign('user_count', $user->count());
	$smarty->display(dirname(__FILE__).'/index.tpl.htm');
?>