public function content() { $this->lang->load('about/helper'); $informations = array(); if ($this->uri->segment(3) !== NULL) { $this->load->model('setting/information'); $informations = $this->information->select_information_forid($this->uri->segment(3)); } if (empty($informations)) { $data['error'] = '你所查找的内容不存在!'; } //if($this->agent->is_robot()){ //return; //} //---------------------------------------------------------------------------------------------- //header部分 $header['title'] = $informations['title']; $header['css_page_style'] = 'public/css/about-us.css'; $header['meta_key'] = $informations['title']; $header['meta_description'] = substr_cn(strip_tags($informations['content']), 80); $this->public_section->get_header($header); $this->public_section->get_top(); //开始主体程序 //1、设置语言 $data['text_title'] = $this->lang->line('heading_title'); $data['text_title_helper'] = $this->lang->line('text_title_helper'); //面包导航 $this->config->load('permission'); //加载配置文件 $select_position = $this->config->item('infomation_position'); //遍历$select_position foreach ($select_position as $k => $v) { if ($this->uri->segment(2) == $k) { $position_name = $select_position[$k]; $position_url = site_url('helper/' . $k); } } $data['breadcrumbs'] = array('home' => array('name' => $this->lang->line('text_home'), 'url' => site_url('home')), 'helper' => array('name' => isset($position_name) ? $position_name : '没有内容', 'url' => isset($position_url) ? $position_url : site_url()), 'setting' => array('name' => isset($informations['title']) ? $informations['title'] : '没有内容', 'this_url' => isset($informations['title']) ? site_url('helper/' . $this->uri->segment(2) . '/' . $informations['information_id']) : site_url(), 'url' => '')); $data['informations'] = $informations; $this->load->view('about/helper_content', $data); $this->public_section->get_footer(); }
$xmflbyidresult = mysql_query("select * from czj_xm_fl where ids='{$xmflid}'"); $xmflbyidarray = mysql_fetch_array($xmflbyidresult); //获取委托机构信息 $weituojigou = $select_array['xm_zbjg']; /* $run_id=$select_array['run_id']; $czj_flow_run_result=mysql_query("select isedybj,run_id,run_name,add_user_id from czj_flow_run where run_id='$run_id'"); $czj_flow_run_array=mysql_fetch_array($czj_flow_run_result); $add_user_id=$czj_flow_run_array['add_user_id']; $run_name=$czj_flow_run_array['run_name']; $isedybj=$czj_flow_run_array['isedybj']; */ $run_id = $select_array['run_id']; $lcb_cgrq = strtotime($select_array['lcb_cgrq']); $current_time = time(); $crrq_currenttime = $lcb_cgrq - $current_time; $oneday_time = 1 * 24 * 60 * 60; $xm_mc_str = substr_cn($select_array['xm_mc'], 0, 28); if ($select_array['isedybj'] == 3) { $titlesstr = "评审完毕"; } else { if ($select_array['isedybj'] == 2) { $titlesstr1 = "正在评审("; $cur_bl_result1 = mysql_query("select run_id,user_id,ised_clwb from czj_flow_run_prcs where run_id='{$run_id}' and ised_clwb=0"); $cur_bl_num1 = mysql_num_rows($cur_bl_result1); for ($icbl1 = 0; $icbl1 < $cur_bl_num1; $icbl1++) { $cur_bl_array1 = mysql_fetch_array($cur_bl_result1); $cur_bl_array_user1 = $cur_bl_array1['user_id']; $cur_bl_user_result1 = mysql_query("select user_id,user_name from blog_user where user_id='{$cur_bl_array_user1}'"); $cur_bl_user_array1 = mysql_fetch_array($cur_bl_user_result1); $cur_bl_user_array_username1 = $cur_bl_user_array1['user_name']; $titlesstr2 = $cur_bl_user_array_username1 . " "; }
<td class="hidden-480">—无—</td> <?php } ?> <?php if (isset($user_info['email'])) { ?> <td class="hidden-480"><div title="<?php echo $user_info['email']; ?> "><?php echo substr_cn($user_info['email'], 10); ?> </td> <?php } else { ?> <td class="hidden-480">—无—</td> <?php } ?> <?php if (isset($user_info['wechat'])) {
<td><?php echo $report_unknow['ip']; ?> </td> <td class="hidden-480"><?php echo $report_unknow['browser']; ?> </td> <td><div title="<?php echo $report_unknow['user_agent']; ?> "><?php echo substr_cn($report_unknow['user_agent'], 12); ?> </div></td> <td> <!--判断current_url是否为空--> <?php if (!empty($report_unknow['current_url'])) { ?> <a href="<?php echo $report_unknow['current_url']; ?> " title="<?php echo $report_unknow['current_url']; ?> " target="_blank"><?php
$run_id = $select_newsp_array['run_id']; ?> <tr valign="top" style="height: 30px; line-height: 30px;font-size: 13px;" <?php if ($num <= 5) { echo "id='notice1'"; } else { echo "id='notice'"; } ?> class="bianse"> <td align="left"> • <span><a href="yh_xm_hz_xq.php?xmid=<?php echo $select_newsp_array['ids']; ?> &url=index" style="font-size: 13px;"><?php echo substr_cn($select_newsp_array['xm_mc'], 0, 28); ?> </a></span> </td> <td align="right"><a href="xm_flow_bl.php?xmid=<?php echo $select_newsp_array['ids']; ?> &page=1&url=index" style="font-size: 13px;">评审意见</a> </td> </tr> <?php } } else { ?> <tr style="height: 200px;font-size:13px;" class="bianse1"> <td colspan="2" align="center" style="line-height: 120px;">暂无待审项目.</td>
<td class="hidden-480"><div title="<?php echo $report_access['platform'] . $report_access['browser']; ?> "><?php echo substr_cn($report_access['platform'] . $report_access['browser'], 16); ?> </td> <td class="hidden-480"><a href="<?php echo site_url('user/user_page?user_id=' . $report_access['user_id']); ?> " target="_blank" title="<?php echo $report_access['user_name']; ?> "><?php echo substr_cn($report_access['user_name'], 15); ?> </a></td> </tr> <?php } ?> <?php } ?> </tbody>