54 lines
2.6 KiB
PHP
54 lines
2.6 KiB
PHP
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<title><?php echo $this->_var['lang']['cp_home']; ?><?php if ($this->_var['ur_here']): ?> - <?php echo $this->_var['ur_here']; ?> <?php endif; ?></title>
|
||
|
<meta name="robots" content="noindex, nofollow">
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<link href="styles/general.css" rel="stylesheet" type="text/css" />
|
||
|
<link href="styles/main.css" rel="stylesheet" type="text/css" />
|
||
|
<?php echo $this->smarty_insert_scripts(array('files'=>'../js/jquery-1.9.1.min.js,../js/jquery.json.js')); ?>
|
||
|
<?php echo $this->smarty_insert_scripts(array('files'=>'../js/transport_jquery.js,common.js,respond.src.js')); ?>
|
||
|
<script language="JavaScript">
|
||
|
<!--
|
||
|
// 这里把JS用到的所有语言都赋值到这里
|
||
|
<?php $_from = $this->_var['lang']['js_languages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
|
||
|
foreach ($_from AS $this->_var['key'] => $this->_var['item']):
|
||
|
?>
|
||
|
var <?php echo $this->_var['key']; ?> = "<?php echo $this->_var['item']; ?>";
|
||
|
<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
|
||
|
//-->
|
||
|
function openwindow(url,name,iWidth,iHeight)
|
||
|
{
|
||
|
var url; //網頁位置;
|
||
|
var name; //網頁名稱;
|
||
|
var iWidth; //視窗的寬度;
|
||
|
var iHeight; //視窗的高度;
|
||
|
var iTop = (window.screen.availHeight-30-iHeight)/2; //視窗的垂直位置;
|
||
|
var iLeft = (window.screen.availWidth-10-iWidth)/2; //視窗的水平位置;
|
||
|
window.open(url,name,'height='+iHeight+',innerHeight='+iHeight+',width='+iWidth+',innerWidth='+iWidth+',top='+iTop+',left='+iLeft);
|
||
|
}
|
||
|
|
||
|
$('#loadFacebookG').show();
|
||
|
|
||
|
$.ready(function(){
|
||
|
});
|
||
|
|
||
|
$(window).on('load',function(){ //load函数
|
||
|
jQuery("#loadFacebookG").hide();
|
||
|
});
|
||
|
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<h1>
|
||
|
<?php if ($this->_var['action_link']): ?>
|
||
|
<span class="action-span"><a href="<?php echo $this->_var['action_link']['href']; ?>"><?php echo $this->_var['action_link']['text']; ?></a></span>
|
||
|
<?php endif; ?>
|
||
|
<?php if ($this->_var['action_link2']): ?>
|
||
|
<span class="action-span"><a href="<?php echo $this->_var['action_link2']['href']; ?>"><?php echo $this->_var['action_link2']['text']; ?></a> </span>
|
||
|
<?php endif; ?>
|
||
|
<span class="action-span1"><a href="index.php?act=main"><?php echo $this->_var['lang']['cp_home']; ?></a> </span><span id="search_id" class="action-span1"><?php if ($this->_var['ur_here']): ?> - <?php echo $this->_var['ur_here']; ?> <?php endif; ?></span>
|
||
|
<div style="clear:both"></div>
|
||
|
</h1>
|