コード例 #1
0
ファイル: addNews.php プロジェクト: meghv999/cdshop-php
				<input type="text" readonly="true" name="NewsImage" id="NewsImage" size="50"/>
				
				<button type="button" onClick="open_me('../includes/upload.php?dir=news',600,200)">
				<img src="images/upload.gif"  border="0"> Tải ảnh lên</button>		</td>
		</tr>
		
		
		<tr>	
			<th>
				Nội dung</th>
			<td>
                <?php 
include_once "ckeditor/ckeditor_php5.php";
include "process/class/class.Editor.php";
$newEditor = new Editor();
$newEditor->create("textContent", "", "ckeditor/");
?>
		
			</td>
		</tr>
		<tr>
		<th align="right">Thêm Liên Tục</th>
		<td><input name="continue" type="checkbox" checked="checked" value="OK"> 
		  (bỏ chọn nếu chỉ muốn thêm 1 tin)</td>
	</tr>
		<tr>	
			<td colspan="2">
				<button type="submit" onClick="return check();"><img src="images/add_16x16.gif" border="0"> Thêm</button>
				<button type="reset" ><img src="images/delete_16x16.gif" border="0"> Xoá form</button>		</td>
		</tr>
	</table>
コード例 #2
0
" />

                &nbsp;&nbsp; &nbsp;是否分享<input class="np" name="is_share" value="<?php 
echo $info['is_share'];
?>
" type="checkbox" <?php 
echo $info['is_share'] == 1 ? ' checked="checked"' : '';
?>
/></td>
        </tr>

        <tr>
        <tr>
            <th align="left" valign="top"><div style="line-height:22px">专题内容</div></th>
            <td><?php 
echo Editor::create('XH', array('name' => 'content', 'value' => $info['content'], 'width' => '700', 'height' => 500));
?>
                <div style="line-height:22px">
                    <font color="red"><?php 
echo $info['click'];
?>
</font>次浏览,
                    <font color="red"><?php 
echo $info['comment'];
?>
</font> 条评论
            </div>
            </td>
        </tr>
    </table>
    <p style="margin:10px 0 10px 72px;">
コード例 #3
0
}
?>
                        </select>
                    </label>
                    <label class="add_tags"> <span class="name"> 添加标签 <sup>ADD TAGS</sup> </span>
                    <input class="input_text" name="tags" type="text" />
                    <br />
                    <span class="text"> (多个标签以空格分开,英文单词请用双引号括起来) </span> </label>
                        <div id="save_show">
                        <div class="close">关闭</div>
                        <div class="percent_num"></div>
                        <div class="percent_bar"><span id="bar">&nbsp;</span></div>
                         <div class="percent_stat"><span></span></div>
                    </div>
                    <div class="editor">  <?php 
echo Editor::create('XH', array('name' => 'content', 'value' => @$content, 'width' => '650', 'height' => '600'));
?>
 </div>
                    <br /><input type="button"  id="submit_art"value=" 提 交 " class="botton"/>
                </div>

                <div class="ft"></div>
                </form>
            </div>
        </div>
    </div>
</div>
<script language="javascript" type="text/javascript">
$(document).ready(function() {
    $('.close').click(function(){$('#save_show').hide();});
コード例 #4
0
            </td></tr>
            <tr>
              <th align="right">文档标题</th><td><input type="text" name="cname" value="<?php 
echo $info['cname'];
?>
" class="txt" /></td>
            <tr><th align="right">文档名</th>

                <td><input type="text" class="txt" name="title" value="<?php 
echo $info['title'];
?>
" /></td>
            </tr>
            <tr><th align="right">内容</th>
                <td> <?php 
echo Editor::create('XH', array('name' => 'content', 'value' => $info['content'], 'width' => '650'));
?>
 </td>
            </tr>
        </table>

        <div class="submit">
            <input type="submit" class="blue_btn" value="保存" name="save_submit" />
            <input type="reset" class="gray_btn" value="重置" />
        </div>
    </form>
</fieldset>
<?php 
include dirname(dirname(__FILE__)) . '/footer.php';
?>
<script language="javascript" type="text/javascript">
コード例 #5
0
ファイル: editNews.php プロジェクト: meghv999/cdshop-php
echo $selectnews['image'];
?>
"/><button type="button" onClick="open_me('../includes/upload.php?dir=news',600,200)"><img src="images/upload.gif"  border="0"> Tải ảnh lên</button>
					</td>
		</tr>
		
		
		<tr>	
			<th>
				Nội dung</th>
			<td>
				<?php 
include_once "ckeditor/ckeditor_php5.php";
include "process/class/class.Editor.php";
$newEditor = new Editor();
$newEditor->create("textContent", $selectnews['content'], "ckeditor/");
?>
			</td>
		</tr>
		<tr>	
			<td colspan="2">
				<button type="submit" onClick="return check();"><img src="images/save.png" border="0"> Lưu thay đổi</button>
				<button type="reset" ><img src="images/delete_16x16.gif" border="0"> Xoá form</button></td>
		</tr>
	</table>
	<div align="center" id="errorArea">

	</div>
</form>

コード例 #6
0
            <td><input name="sender_email" type="text" size="25" value="<?php 
echo @$info['sender_email'];
?>
" /></td>
        </tr>
        <tr>
          <th colspan="2" align="left" style="color:#CCCCCC">
         <font color="#0000FF" style=" font-size:14px;"> 模板 </font> <br/>
<font style="color:#993300">  $LINK$ </font>表示 找到密码的链接 例如
<input type="text" readonly="" value="&lt;a href=&quot;http://www.wal.com/?p=xxxxxx\&quot;&gt;http://www.wal.com/?p=xxxxxx&lt;/a&gt;&lt;/div&gt;" style="width: 510px; border: 0pt none;"><font style="color:#993300">$NAME$</font> 表示 用户名 例如 Test1 <br/>
          </th>
        </tr>
        <tr>
            <th align="left" valign="top"><div style="line-height:22px">专题内容</div></th>
            <td><?php 
echo Editor::create('XH', array('name' => 'template', 'value' => @$info['template'], 'width' => '700', 'height' => 500));
?>
            </td>
        </tr>
    </table>
<p style="margin:10px 0 10px 72px;">
        <input type="submit" value="保存编辑" />
        &nbsp;
        <input type="button" value="返回上页" onclick="history.back();" />
    </p>
</form>
<script type="text/javascript">
$(pageInit);
var editor;
function pageInit()
{