Example #1
0
      </div>
      <?php 
if (count($list_r) > 0) {
    ?>
      <div class="part part3">
        <div class="wm800">
          <h2>往期活动</h2>
          <div class="over">
            <div class="box">
            <ul class="over_ul" >
              <?php 
    foreach ($list_r as $ltkey => $lt_r) {
        if ($lt_r['id'] != $show_r['id']) {
            echo '
                      <li><a href="git-' . $lt_r['id'] . '.html">
                          <img class="lazy"  data-original="' . pic_url($lt_r['kq_picurl']) . '" alt="">
                          <p>【' . $lt_r['kq_qishu'] . '期】' . $lt_r['kq_title'] . '</p>
                        </a>
                      </li>
                    ';
        }
    }
    ?>
              <div class="clear_float"></div>
            </ul>
            </div>
            <div class="clear_float"></div>
            <div class="subli">
              <a href="javascript:void(0)" class="next">下一期</a>
              <a href="javascript:void(0)" class="prev">上一期</a>
            </div>
Example #2
0
        <div class="right">
          <div class="right_warp">
            <div class="part part1">
              <p class="mun_font">
                <?php 
$telstr = get_index($kq_openconfig['tel']);
echo $telstr['kq_code'];
?>
                
              </p>
            </div>
            <div class="part part2">
              <div class="qr">
              
                <?php 
echo "<img src='" . pic_url($wxpic[0]) . "' alt='关注微信' />";
?>
              
              </div>
               <p align="center">微信号:nnswws</p>
              <div class="login_name" style="text-align:center;">
              <?php 
/*if(isset($_COOKIE['user'])){
    $username=is_login($_COOKIE['uid']);
    if($username){
      echo '欢迎<span><a href="user.html">'.$username['kq_name'].'</a></span>';
    }else{
       echo '<a href="login.php" target="_blank"  ><img src="images/Connect_logo_4.png" alt=""></a>';
    }
  }else{
    echo '<a href="login.php" target="_blank"  ><img src="images/Connect_logo_4.png" alt=""></a>';
Example #3
0
             <tr>
              <td align="right" width="100"><?php 
echo $pagename;
?>
头像:</td>
              <td><input name="kq_picurl" size="40" value="<?php 
echo $show_r['kq_picurl'];
?>
" class="inpMain" type="text" id="kq_picurl"><input name="submit2" class="btn " onClick="updatepic('kq_picurl','ylpics')" value="上传图片" type="button" /></td>
            </tr>

            <tr>
              <td align="right">图片预览:</td>
              <td colspan="2" id="ylpics">
                <img src="<?php 
echo pic_url($show_r['kq_picurl']);
?>
" height="100"  />
              </td>
            </tr>
            <tr>
              <td align="right" width="100"><?php 
echo $pagename;
?>
邮箱:</td>
              <td><input name="kq_email" size="40" value="<?php 
echo $show_r['kq_email'];
?>
" class="inpMain" type="text" id="kq_name"></td>
            </tr>
             <tr>
Example #4
0
        </span>
      </div>
      <div class="right_float right">
        <ul>
          <li class="lll">浏览量: <span class="c_fd3"><?php 
echo $kq_number;
?>
</span> </li>
          <li class="qq"><a href="http://wpa.qq.com/msgrd?v=3&uin=<?php 
$qqstr = get_index($kq_openconfig['qq']);
echo $qqstr['kq_code'];
?>
&site=qq&menu=yes" target="_blank"><span class="iconfont">&#xe60d;</span>客服QQ</a></li>
          <li class="wx"><a href="javascript:void(0)"><span class="iconfont">&#xe60b;</span>微信公众号</a><div class="wx_img">
            <img src="<?php 
echo pic_url($wxpic[0]);
?>
" alt="关注微信公众号">
          </div></li>
         <!--  <li class="hy">
         <?php 
if (isset($_COOKIE['uid'])) {
    echo '<a href="user.html">';
} else {
    echo '<a href="login.php">';
}
?>
         <span class="iconfont">&#xe610;</span>会员中心</a>
         </li> -->
          <!-- <li class="hy">
          <?php 
Example #5
0
        } else {
            foreach ($sltarray as $key => $sltvalue) {
                $thumbs->CreateThumbsize($sltvalue['w'], $sltvalue['h']);
            }
            if ($upsize_w != '') {
                $thumbs->CreateThumbsize($upsize_w, $upsize_h, 1);
            }
        }
    }
    if ($list) {
        $htmlstr = '<li class="itempic"><img class="fmpic" src="' . pic_url($file_url, "260x260/") . '" height="80" alt=""><input type="hidden" name="up_pic[]" value="' . $file_url . '"> <div class="editro"> <a href="javascript:void(0)" class="up_pic">上移</a> <a href="javascript:void(0)" class="botm_pic">下移</a> <a href="javascript:void(0)" class="del_pic">删除</a> </div></li>';
        //引入JQUERY
        echo "<script src='" . $php_url . "/js/jquery.js'></script>";
        echo "\n\t\t\t<script>\n\t\t\t\t\$(window.parent.document).find('" . $pidid . "').append('" . $htmlstr . "');\n\t\t\t\tvar index = parent.layer.getFrameIndex(window.name);\n\t\t   \t\t\tparent.layer.close(index);\n\t\t\t</script>\n\t\t   ";
    } else {
        $ylpicstr = '<a href="' . pic_url($file_url, "235x235/") . '" target="_blank"><img src="' . pic_url($file_url, "260x260/") . '" height="100"></a>';
        if ($ylpic) {
            echo "<script>parent.document.getElementById('" . $pidid . "').value='{$file_url}';parent.document.getElementById('" . $ylpic . "').innerHTML='" . $ylpicstr . "';var index = parent.layer.getFrameIndex(window.name);parent.layer.close(index);</script>";
        } else {
            echo "<script>parent.document.getElementById('" . $pidid . "').value='{$file_url}';var index = parent.layer.getFrameIndex(window.name);parent.layer.close(index);</script>";
        }
    }
    exit;
}
function alert($msg)
{
    global $pidid;
    global $ylpic;
    global $upsize_w;
    global $upsize_h;
    global $list;
Example #6
0
                $thumbs->CreateThumbsize($upsize_w, $upsize_h, 1);
            }
        }
    }
    if ($list == 1) {
        $htmlstr = '<li class="itempic"><img class="fmpic" src="' . $php_url . pic_url($file_url) . '" height="80" alt=""><input type="hidden" name="' . $filepicname . '[]" value="' . $file_url . '"> <div class="editro"> <a href="javascript:void(0)" class="up_pic">上移</a> <a href="javascript:void(0)" class="botm_pic">下移</a> <a href="javascript:void(0)" class="del_pic">删除</a> </div></li>';
        //引入JQUERY
        echo "<script src='" . $php_url . "/admin/js/jquery.js'></script>";
        echo "\n\t\t\t<script>\n\t\t\t\t\$(window.parent.document).find('" . $pidid . "').append('" . $htmlstr . "');\n\t\t\t\tvar index = parent.layer.getFrameIndex(window.name);\n\t\t   \t\t\tparent.layer.close(index);\n\t\t\t</script>\n\t\t   ";
    } elseif ($list == 2) {
        $htmlstr = '<li class="itempic"><img class="fmpic" src="' . $php_url . pic_url($file_url) . '" height="80" alt=""><input type="hidden" name="' . $filepicname . '[]" value="' . $file_url . '"><br/>网址:<input style="margin:5px;" class="inpMain" siez="20" type="text" name="url[]" value=""><div class="editro"> <a href="javascript:void(0)" class="up_pic">上移</a> <a href="javascript:void(0)" class="botm_pic">下移</a> <a href="javascript:void(0)" class="del_pic">删除</a> </div></li>';
        //引入JQUERY
        echo "<script src='" . $php_url . "/admin/js/jquery.js'></script>";
        echo "\n\t\t\t<script>\n\t\t\t\t\$(window.parent.document).find('" . $pidid . "').append('" . $htmlstr . "');\n\t\t\t\tvar index = parent.layer.getFrameIndex(window.name);\n\t\t   \t\t\tparent.layer.close(index);\n\t\t\t</script>\n\t\t   ";
    } else {
        $ylpicstr = '<a href="' . $php_url . pic_url($file_url) . '" target="_blank"><img src="' . $php_url . pic_url($file_url) . '" height="100"></a>';
        if ($ylpic) {
            echo "<script>parent.document.getElementById('" . $pidid . "').value='{$file_url}';parent.document.getElementById('" . $ylpic . "').innerHTML='" . $ylpicstr . "';var index = parent.layer.getFrameIndex(window.name);parent.layer.close(index);</script>";
        } else {
            echo "<script>parent.document.getElementById('" . $pidid . "').value='{$file_url}';var index = parent.layer.getFrameIndex(window.name);parent.layer.close(index);</script>";
        }
    }
    exit;
}
function alert($msg)
{
    global $pidid;
    global $ylpic;
    global $filepicname;
    global $upsize_w;
    global $upsize_h;
Example #7
0
        echo $list_r['kq_author'] == '' ? '管理员' : $list_r['kq_author'];
        ?>
</td>
            <?php 
        if ($lanmumsg['kq_model'] == 1) {
            ?>
            <td align="center"><?php 
            echo $list_r['kq_sttime'] == '' ? '' : date("Y-m-d H:i:s", $list_r['kq_sttime']);
            ?>
</td>
            <td align="center"><?php 
            echo $list_r['kq_endtime'] == '' ? '' : date("Y-m-d H:i:s", $list_r['kq_endtime']);
            ?>
</td>
           <!--  <td><img src="<?php 
            echo pic_url($list_r['kq_picurl']);
            ?>
" class="fmpic" alt="" width="120"></td> -->
            <?php 
        }
        ?>
            <td> <?php 
        echo date("Y-m-d ", $list_r['kq_ctime']);
        ?>
</td>
            <td>

              <?php 
        if ($updpass) {
            if ($huodong == 'adv') {
                ?>
Example #8
0
require_once KQ_PATH . 'inc/user_left.inc.php';
?>
    				</div>
    				<div class="right">
    					<div class="user_warp">
    						<div class="user_msg_dl">
	    						<h3>亲,您好,欢迎来到<?php 
echo $kq_name;
?>
</h3>
	    						<?php 
if (!$ed) {
    ?>
	    						<dl >
	    							<dt> <img src="<?php 
    echo pic_url($user['kq_picurl']);
    ?>
" alt=""> </dt>
	    							<dd>

	    								<table>
	    									<tr>
	    										<td><span>昵称</span></td>
	    										<td><?php 
    echo $user['kq_name'];
    ?>
</td>
	    									</tr>
	    									<tr>
	    										<td><span>QQ</span></td>
	    										<td><?php 
Example #9
0
        $total = $conn->rows($conn->selectall("" . DB_EXT . "liuyan", "where  kq_newsid='" . $data['id'] . "'"));
        $total = ceil($total / $pagesize);
        $str = '';
        $lypic = '';
        $border = "";
        if (count($liuyan) > 0) {
            //获取用户
            foreach ($liuyan as $key => $v) {
                $user = get_first_date('user', "where id='" . $v['kq_userid'] . "'");
                if (count($user) > 0) {
                    $pic = '<img src="' . pic_url($user['kq_picurl']) . '" >';
                } else {
                    $pic = '';
                }
                if (isset($data['showpic'])) {
                    $lypic = ' <dd><img class="img_fll lazy" src="' . pic_url($v['kq_picurl'], "260x260/") . '"></dd>';
                    $border = 'style="border:none"';
                }
                $str .= '<dl>
	              <dt>' . $pic . '</dt>
	              <dd ' . $border . '><em>' . $v['kq_number'] . '楼</em><b>' . $v['kq_name'] . '</b><span>(' . date('Y-m-d H:i:s', $v['kq_ctime']) . ')</span><p>' . $v['kq_content'] . '</p></dd>
	             	' . $lypic . '
	              <div class="clear_float"></div>
	              </dl>';
            }
            $data2 = array('pages' => $total, 'contents' => $str);
            echo json_encode($data2);
        } else {
            $data2 = array('pages' => 1, 'contents' => '没有留言记录');
            echo json_encode($data2);
        }
Example #10
0
        if (ADVLANMU) {
        } else {
            $listpostion = array('1' => '首页', '2' => '列表页', '3' => '内容页', '4' => '头部', '5' => '底部');
            echo_option($list_r['kq_position'], $listpostion);
        }
        ?>
            </td>
            <td align="center">
            <?php 
        echo echo_option($list_r['kq_type'], array('2' => '代码广告', '1' => '图片广告'));
        ?>
            </td>
            <td align="center">
            <?php 
        if ($list_r['kq_type'] == 1) {
            echo "<img src='" . pic_url($list_r['kq_picurl']) . "' width='120' height='80' class='fmpic' />";
        }
        if ($list_r['kq_type'] == 2) {
            echo '<textarea name=""  class="textArea" cols="20" rows="4">' . $list_r['kq_code'] . '</textarea>';
        }
        ?>
            </td>
            <td align="center">
             <?php 
        echo date("Y-m-d ", $list_r['kq_ctime']);
        ?>
</td>
            <td align="center">
            <?php 
        if (!$hasaccess) {
            echo "没有权限";
Example #11
0
function classfl($fid = 0)
{
    global $classarr, $dlurl, $updateurl, $hasaccess;
    for ($i = 0; $i < count($classarr); $i++) {
        if ($classarr[$i]['kq_fid'] == $fid) {
            //如果是根节点则输出
            if ($classarr[$i]['kq_fid'] == 0) {
                echo '<tr data-tt-id="' . $classarr[$i]['id'] . '">';
                echo '<td align="center"><input name="checkbox[]" value="' . $classarr[$i]['kq_uuid'] . '" type="checkbox"></td>';
                echo '<td align="center"><input name="sort[]" type="text" value="' . $classarr[$i]['kq_sort'] . '" class="inpMain" id="sort[]" size="5" /></td> ';
                echo '<td align="center">' . $classarr[$i]['id'] . '</td>';
                echo '<td>' . $classarr[$i]['kq_name'] . '</td>';
                //假如图标存在输出
                if ($classarr[$i]['kq_picurl'] != '') {
                    echo '<td align="center" width="100"><img src="' . pic_url($classarr[$i]['kq_picurl']) . '" width="100" class="fmpic" /></td>';
                } else {
                    echo '<td align="center" width="100"></td>';
                }
                //假如是最终分类
                if ($classarr[$i]['kq_islast'] == 1) {
                    //判断是什么模型
                    if ($classarr[$i]['kq_model'] == 1) {
                        echo '<th align="center" width="100"><span class="tuwen">图文列表</span></th>';
                    }
                    if ($classarr[$i]['kq_model'] == 2) {
                        echo '<th align="center" width="100"><span class="wenzhang">文章列表</span></th>';
                    }
                    if ($classarr[$i]['kq_model'] == 3) {
                        echo '<th align="center" width="100"><span class="danpage">单个页面</span></th>';
                    }
                } else {
                    echo '<td align="center" width="100"></td>';
                }
                if ($hasaccess) {
                    echo '<td align="center"><a href="index.php?name=' . $updateurl . '&amp;id=' . $classarr[$i]['kq_uuid'] . '"><span class="wenzhang">编辑</span></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="action/ac_dell.php?type=' . $dlurl . '&amp;id=' . $classarr[$i]['kq_uuid'] . '"><span class="delete">删除</span></a>
        				</td>';
                } else {
                    echo '<td align="center">没有权限
       	 				</td>';
                }
                echo "</tr>";
                //如果不是根节点
            } else {
                echo '<tr data-tt-id="' . $classarr[$i]['id'] . '" data-tt-parent-id="' . $classarr[$i]['kq_fid'] . '">';
                echo '<td align="center"><input name="checkbox[]" value="' . $classarr[$i]['kq_uuid'] . '" type="checkbox"></td>';
                echo '<td align="center"><input name="sort[]" type="text" value="' . $classarr[$i]['kq_sort'] . '" class="inpMain" id="sort[]" size="5" /></td>';
                echo '<td align="center">' . $classarr[$i]['id'] . '</td>';
                echo '<td>' . $classarr[$i]['kq_name'] . '</td>';
                //是否存在图标
                if ($classarr[$i]['kq_picurl'] != '') {
                    echo '<td align="center" width="100"><img src="' . pic_url($classarr[$i]['kq_picurl']) . '" width="100" class="fmpic" /></td>';
                } else {
                    echo '<td align="center" width="100"></td>';
                }
                //判断根分类
                if ($classarr[$i]['kq_islast'] == 1) {
                    if ($classarr[$i]['kq_model'] == 1) {
                        echo '<th align="center" width="100"><span class="tuwen">图文列表</span></th>';
                    }
                    if ($classarr[$i]['kq_model'] == 2) {
                        echo '<th align="center" width="100"><span class="wenzhang">文章列表</span></th>';
                    }
                    if ($classarr[$i]['kq_model'] == 3) {
                        echo '<th align="center" width="100"><span class="danpage">单个页面</span></th>';
                    }
                } else {
                    echo '<td align="center" width="100"></td>';
                }
                if ($hasaccess) {
                    echo '<td align="center"><a href="index.php?name=' . $updateurl . '&amp;id=' . $classarr[$i]['kq_uuid'] . '"><span class="wenzhang">编辑</span></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="action/ac_dell.php?type=' . $dlurl . '&amp;id=' . $classarr[$i]['kq_uuid'] . '"><span class="delete">删除</span></a>
			        	</td>';
                } else {
                    echo '<td align="center">没有权限
			        	</td>';
                }
                echo "</tr>";
            }
            classfl($classarr[$i]['id']);
        }
    }
}
Example #12
0
$zj = get_index($kq_openconfig['zj']);
echo $zj['kq_content'];
?>
                </div>
              </div>
              </div>
            </div>
            
            <div class="adv_list">
              <ul class="adv_ul index_list_adv">
                <?php 
if (count($tadv) > 0) {
    foreach ($tadv as $tadvkey => $tadv_v) {
        $wburl = $tadv_v['kq_wburl'] == '' ? 'show-' . $tadv_v['id'] . '.html' : $tadv_v['kq_wburl'];
        $wbblank = $tadv_v['kq_wburl'] == '' ? '' : "target='_blank'";
        echo '<li><a href="' . $wburl . '" ' . $wbblank . ' target="_blank"><img class="lazy"  data-original="' . pic_url($tadv_v['kq_picurl'], "260x170/") . '" alt=""></a></li>';
    }
}
?>
                
                <div class="clear_float"></div>
              </ul>
            </div>
            
          </div>
        </div>
        <div class="clear_float"></div>
      </div>
      <div class="clear_float"></div>
    <!-- 底部 -->
    <?php 
Example #13
0
require_once KQ_PATH . 'inc/state.inc.php';
?>
  <div class="warp">
    <!-- 头部 -->
    <?php 
require_once KQ_PATH . 'inc/header.inc.php';
?>
    <!-- 中间内容 -->
    		<div class="help_warp ">
    			<div class="wm1000">
    			<div class="adv_top">
    				<?php 
$advtop = get_first_date('adv', "where kq_position='" . $advpid . "' order by kq_sort desc  limit 1");
if (count($advtop) > 0) {
    $blank = $advtop['kq_url'] == '' ? '' : 'target="_blank"';
    echo '<a href="' . empty_url($advtop['kq_url']) . '" ' . $blank . '><img class="lazy" data-original="' . pic_url($advtop['kq_picurl']) . '" alt=""></a>';
}
?>
    			</div><!-- adv_top -->
    			<div class="help_cont">
    				<div class="left">
    					<ul class="help_list">
    						<?php 
if (count($help_list) > 0) {
    foreach ($help_list as $key => $value) {
        echo '<li><a href="help-' . $value['kq_lmid'] . '-' . $value['id'] . '.html" title="' . $value['kq_title'] . '">' . Strsub($value['kq_title'], 14) . '</a></li>';
    }
}
?>
    						
    						
Example #14
0
     <div class="hide">
        <table class="tableBasic" border="0" cellpadding="8" cellspacing="0" width="100%">
           <tbody>
            <tr >
              <td width="120" align="right">
                图片预览:
              </td>
              <td>
              <ul class="list_u_pic tbul">
              	<?php 
 $picarray = json_decode($show_r['kq_thumbs']);
 if (count($picarray) > 0) {
     foreach ($picarray as $key => $value) {
         if ($value) {
             echo '
              	        <li class="itempic"><img class="fmpic" src="' . pic_url($value) . '" height="80" alt=""><input type="hidden" value="' . $value . '" name="up_pic[]"> <div class="editro">
              	          <a href="javascript:void(0)" class="up_pic">上移</a>
              	          <a href="javascript:void(0)" class="botm_pic">下移</a>
              	          <a href="javascript:void(0)" class="del_pic">删除</a>
              	        </div></li>
              	      ';
         }
     }
 }
 ?>
              </ul>
              <div class="clear"></div>
              
             
              </td>
            </tr>
Example #15
0
    }
    echo '</ul></div>';
} elseif ($data['action'] == 'onemsg') {
    $id = '';
    if (isset($data['id'])) {
        $id = $data['id'];
    }
    $user = get_first_date('user', "where id='" . $id . "' order by id desc");
    echo '
	<table id="kq" class="tableBasic" border="0" cellpadding="8" cellspacing="0" width="400">
		<tr>
			<td>用户名</td>
			<td>' . $user['kq_name'] . '</td>
			<td>电话</td>
			<td>' . $user['kq_tel'] . '</td>
		</tr>
		<tr>
			<td>头像</td>
			<td><img src="' . pic_url($user['kq_picurl']) . '" /></td>
		
			<td>邮箱</td>
			<td>' . $user['kq_email'] . '</td>
		</tr>
		<tr>
			<td>地址</td>
			<td colspan="3">' . $user['kq_address'] . '</td>
		</tr>
		
	</table>
	';
}