mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
finish custom field basic
This commit is contained in:
@@ -5,6 +5,7 @@ dbconn();
|
||||
require_once(get_langfile_path());
|
||||
loggedinorreturn();
|
||||
$id = intval($_GET["id"] ?? 0);
|
||||
$customField = new \Nexus\Field\Field();
|
||||
|
||||
int_check($id);
|
||||
if (!isset($id) || !$id)
|
||||
@@ -153,6 +154,11 @@ else {
|
||||
print("</td></tr>\n");
|
||||
// ---------------- end subtitle block -------------------//
|
||||
|
||||
/**************start custom fields****************/
|
||||
echo $customField->renderTorrentDetailPageMixed($id);
|
||||
|
||||
/**************end custom fields****************/
|
||||
|
||||
if ($CURUSER['showdescription'] != 'no' && !empty($row["descr"])){
|
||||
$torrentdetailad=$Advertisement->get_ad('torrentdetail');
|
||||
tr("<a href=\"javascript: klappe_news('descr')\"><span class=\"nowrap\"><img class=\"minus\" src=\"pic/trans.gif\" alt=\"Show/Hide\" id=\"picdescr\" title=\"".($lang_details['title_show_or_hide'] ?? '')."\" /> ".$lang_details['row_description']."</span></a>", "<div id='kdescr'>".($Advertisement->enable_ad() && $torrentdetailad ? "<div align=\"left\" style=\"margin-bottom: 10px\" id=\"ad_torrentdetail\">".$torrentdetailad[0]."</div>" : "").format_comment($row["descr"])."</div>", 1);
|
||||
|
||||
Reference in New Issue
Block a user