本文整理匯總了PHP中Reply::infolist方法的典型用法代碼示例。如果您正苦於以下問題:PHP Reply::infolist方法的具體用法?PHP Reply::infolist怎麽用?PHP Reply::infolist使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Reply
的用法示例。
在下文中一共展示了Reply::infolist方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Reply
{
$idval = $GLOBALS['Reque']->reqval["id"];
$thr_idval = $GLOBALS['Reque']->reqval["thr_id"];
$rep_desc = $_REQUEST["rep_desc"];
$GLOBALS['WebSe']->isLoginUser($getUrl = BASE_WEBURL . '/?thread-' . $thr_idval . '.html&page=1');
$updatethread = "UPDATE `" . SQL_PREFIX . "reply` SET rep_desc = '" . $rep_desc . "' WHERE `rep_id` = " . $idval . " and use_id = " . $_SESSION["webUser"]["use_id"] . " ";
$GLOBALS['MySql']->querySql($updatethread);
$GLOBALS['Templ']->assign('infomessage', $GLOBALS['_LANG']['bd_editsusse']);
$GLOBALS['Templ']->assign('URL_TIME', URL_TIME);
$GLOBALS['Templ']->assign('geturl', BASE_WEBURL . '/?thread-' . $thr_idval . '.html&page=1');
$GLOBALS['Templ']->display('suggestion_tpl.html');
}
}
$Reply = new Reply();
if ($GLOBALS['Webur']->getval["type"] == 'list') {
$Reply->infolist();
} else {
if ($GLOBALS['Webur']->getval["type"] == 'add') {
$Reply->add();
} else {
if ($GLOBALS['Webur']->getval["type"] == 'addinfo') {
$Reply->addinfo();
} else {
if ($GLOBALS['Webur']->getval["type"] == 'edit') {
$Reply->edit();
} else {
if ($GLOBALS['Webur']->getval["type"] == 'editinfo') {
$Reply->editinfo();
} else {
if ($GLOBALS['Webur']->getval["type"] == 'del') {
$Reply->del();