:::

14-3 comment_new.php

<?php

include '../../mainfile.php';

$com_itemid = isset($_GET['com_itemid']) ? intval($_GET['com_itemid']) : 0;

if ($com_itemid > 0) {
  $sql="select name from ".$xoopsDB->prefix("contact")." where sn='{$com_itemid}'";
    $result=$xoopsDB->query($sql) or redirect_header($_SERVER['PHP_SELF'],3, mysql_error());
    list($name)=$xoopsDB->fetchRow($result);
    //$com_replytext=nl2br($content);
}

$com_replytitle = "給 {$name} 的留言";


include XOOPS_ROOT_PATH.'/include/comment_new.php';
?>


:::

搜尋


書籍目錄

展開 | 闔起

線上使用者

23人線上 (5人在瀏覽線上書籍)

會員: 0

訪客: 23

更多…