Beispiel #1
0
echo is_array($_tmp = $this->_tpl_vars['yz1']) ? $this->_run_mod_handler('tgdzwh', true, $_tmp) : tgdzwh($_tmp);
?>
</td>
  <td bgcolor="#FFFFFF" class="new" ><?php 
echo is_array($_tmp = $this->_tpl_vars['mg1']) ? $this->_run_mod_handler('tgdzwh', true, $_tmp) : tgdzwh($_tmp);
echo is_array($_tmp = $this->_tpl_vars['mz1']) ? $this->_run_mod_handler('tgdzwh', true, $_tmp) : tgdzwh($_tmp);
?>
</td>
  <td bgcolor="#FFFFFF" class="new" ><?php 
echo is_array($_tmp = $this->_tpl_vars['dg1']) ? $this->_run_mod_handler('tgdzwh', true, $_tmp) : tgdzwh($_tmp);
echo is_array($_tmp = $this->_tpl_vars['dz1']) ? $this->_run_mod_handler('tgdzwh', true, $_tmp) : tgdzwh($_tmp);
?>
</td>
  <td bgcolor="#FFFFFF" class="new" ><?php 
echo is_array($_tmp = $this->_tpl_vars['tg1']) ? $this->_run_mod_handler('tgdzwh', true, $_tmp) : tgdzwh($_tmp);
echo is_array($_tmp = $this->_tpl_vars['tz1']) ? $this->_run_mod_handler('tgdzwh', true, $_tmp) : tgdzwh($_tmp);
?>
</td>
 </tr>
 <tr>
  <td  colspan="2" bgcolor="#FFFFFF" class="new">纳音:</td>
  <td bgcolor="#FFFFFF" class="new" ><?php 
echo is_array($_tmp = $this->_tpl_vars['ygz']) ? $this->_run_mod_handler('layin', true, $_tmp) : layin($_tmp);
?>
</td>
  <td bgcolor="#FFFFFF" class="new" ><?php 
echo is_array($_tmp = $this->_tpl_vars['mgz']) ? $this->_run_mod_handler('layin', true, $_tmp) : layin($_tmp);
?>
</td>
  <td bgcolor="#FFFFFF" class="new" ><?php 
echo is_array($_tmp = $this->_tpl_vars['dgz']) ? $this->_run_mod_handler('layin', true, $_tmp) : layin($_tmp);
Beispiel #2
0
Datei: bz.php Projekt: cwcw/cms
$smarty->assign('wnum2', $wnum2);
$smarty->assign('wnum3', $wnum3);
$smarty->assign('wnum4', $wnum4);
$smarty->assign('wnum5', $wnum5);
$sql = "select * from wh where wh= ? ";
$db->query($sql, array(tgdzwh($dg1)));
if ($rs = $db->fetchArray()) {
    $smarty->assign('tnwh', $rs['tnwh']);
    $smarty->assign('ynwh', $rs['ynwh']);
    $smarty->assign('skzhyj', $rs['skzhyj']);
    $smarty->assign('whzx', $rs['whzx']);
    $smarty->assign('szwh', $rs['szwh']);
    $smarty->assign('hyhw', $rs['hyhw']);
}
$sql = "select * from sjrs where wh= ? and sj= ?";
$db->query($sql, array(tgdzwh($dg1), siji($yue1)));
if ($rs = $db->fetchArray()) {
    $smarty->assign('sjrs', $rs['sjrs']);
}
$sql = "select * from sxgx where sx = ?";
$db->query($sql, array($sx));
if ($rs = $db->fetchArray()) {
    $smarty->assign('sxgx', $rs['sxgx']);
}
$sql = "select * from rgnm where rgz=?";
$db->query($sql, array($dgz));
if ($rs = $db->fetchArray()) {
    $smarty->assign('rgxx', $rs['rgxx']);
    $smarty->assign('rgcz', $rs['rgcz']);
    $smarty->assign('rgzfx', $rs['rgzfx']);
}
Beispiel #3
0
Datei: nm.php Projekt: cwcw/cms
if ($wnum5 >= 3) {
    $mainw = $mainw . "<strong>ÍÁ</strong>Íú";
} elseif ($wnum5 == 0) {
    $mainq = $mainq . "ȱ<strong>ÍÁ</strong>";
}
$sql = "select * from wh where wh=?";
$result = $db->query($sql, array(tgdzwh($dg1)));
if ($rs = $db->fetchArray()) {
    $smarty->assign('tnwh', $rs['tnwh']);
    $smarty->assign('ynwh', $rs['ynwh']);
    $smarty->assign('skzhyj', $rs['skzhyj']);
    $smarty->assign('whzx', $rs['whzx']);
    $smarty->assign('szwh', $rs['szwh']);
    $smarty->assign('hyhw', $rs['hyhw']);
}
$sql = "select * from sjrs where wh='" . tgdzwh($dg1) . "' and sj='" . siji($yue1) . "'";
$result = $db->query($sql);
if ($rs = $db->fetchArray()) {
    $smarty->assign('sjrs', $rs["sjrs"]);
}
$sql = "select * from sxgx where sx='" . $sx . "'";
$result = $db->query($sql);
if ($rs = $db->fetchArray()) {
    $smarty->assign('sxgx', $rs["sxgx"]);
}
$sql = "select * from rgnm where rgz='" . $dgz . "'";
$result = $db->query($sql);
if ($rs = $db->fetchArray()) {
    $smarty->assign('xgfx', $rs["xgfx"]);
    $smarty->assign('aqfx', $rs["aqfx"]);
    $smarty->assign('syfx', $rs["syfx"]);