Exemplo n.º 1
0
                            <em class="w80">来源信息</em>
                            <span class="text">作者</span><input id="author" name="author" class="input_ w100" type="text" error="请输入作者!" reg="非空" value="<?php 
        echo $wzrow['author'];
        ?>
"/> <span class="red">*</span>
                            <span class="text">文章来源</span>
                            <input id="source" name="source" class="input_ w180" type="text" error="请输文章来源!" reg="非空" value="<?php 
        echo $wzrow['source'];
        ?>
"/> <span class="red">*</span>
                            
                        </li>
                        <li>
                        <em class="w80">关联产品</em>
                        <input id="suluetu2" name="suluetu2" class="input_ w400" type="text" value="<?php 
        echo glcp($wzrow['suluetu2'], $wzrow['gift_id']);
        ?>
"/>
                       <a href="javascript:void(0);" target="_self" onclick="viewDescwz();" style="color: #0000ff; margin-left: 10px;"> &raquo;(填写本站的产品连接):查看说明</a>
                    </li>

                        <li>
                            <em>文章内容</em>
                            <textarea id="content" name="content" style="width:730px; height:200px;" error="请输文章内容!" reg="非空" ><?php 
        echo $wzrow['content'];
        ?>
</textarea>
                        </li>
                    
                    <li>
                        <a class="button1" href="javascript:;" onclick="$(this).next().click();" style="margin: 0 12px 0 0;float: left;">提交</a>
Exemplo n.º 2
0
                    <div class="content">
                    
                    
                    <!---s:后台读取的内容 ↓↓↓-->
                      <?php 
echo rnmagic($rmrow['content']);
?>
                      

                     <!--e:后台读取的内容 ↑↑↑-->
                     <?php 
if ($rmrow['gift_id']) {
    $sql = "select id,title from " . $rmrow['suluetu2'] . " where id=" . $rmrow['gift_id'];
    $result = mysql_query($sql);
    $row = mysql_fetch_assoc($result);
    $cpurl = glcp($rmrow['suluetu2'], $rmrow['gift_id']);
    ?>
                    <div class="goodsprice">
                    <div class="gotitle"><?php 
    echo mb_substr($row['title'], 0, 43, 'utf-8');
    ?>
</div>
                    <div class="pic_sub"><a href="<?php 
    echo $cpurl;
    ?>
">查看产品</a></div>
                    </div>
                    <?php 
}
?>
Exemplo n.º 3
0
    $tag = $row['tag'];
    $promote_id = $row['promote_id'];
    $num_iids = $row['num_iids'];
    $pindao_id = $row['pindao_id'];
    $ZhuyaoPic = $row['ZhuyaoPic'];
    $suluetu1 = $row['suluetu1'];
    $suluetu2 = $row['suluetu2'];
    $tougao_id = $row['tougao_id'];
    $author = $row['author'];
    $source = $row['source'];
    $gift_id = $row['gift_id'];
    $tiaoyong_id = $row['tiaoyong_id'];
    $create_user_id = $row['create_user_id'];
    $recommend = $row['recommend'];
    $status = $row['status'];
    $suluetu2 = glcp($suluetu2, $gift_id);
}
if ($dopost == 'update') {
    $id = $_POST["aid"];
    $title = $_POST["title"];
    $category_id = $_POST["category_id"];
    $keyword = $_POST["keyword"];
    $description = $_POST["description"];
    $content = $_POST["content"];
    $tag = $_POST["tag"];
    $promote_id = $_POST['promote_id'];
    $num_iids = $_POST['num_iids'];
    $pindao_id = $_POST['pindao_id'];
    $ZhuyaoPic = $_POST['ZhuyaoPic'];
    $suluetu1 = $_POST['suluetu1'];
    $suluetu2 = trim($_POST['suluetu2']);