| ... | ... |
@@ -1,86 +1,94 @@ |
| 1 |
-<?php |
|
| 2 |
-// ---------------------------------------------------------------------- |
|
| 3 |
-// eFiction 3.2 |
|
| 4 |
-// Copyright (c) 2007 by Tammy Keefer |
|
| 5 |
-// Valid HTML 4.01 Transitional |
|
| 6 |
-// Based on eFiction 1.1 |
|
| 7 |
-// Copyright (C) 2003 by Rebecca Smallwood. |
|
| 8 |
-// http://efiction.sourceforge.net/ |
|
| 9 |
-// ---------------------------------------------------------------------- |
|
| 10 |
-// LICENSE |
|
| 11 |
-// |
|
| 12 |
-// This program is free software; you can redistribute it and/or |
|
| 13 |
-// modify it under the terms of the GNU General Public License (GPL) |
|
| 14 |
-// as published by the Free Software Foundation; either version 2 |
|
| 15 |
-// of the License, or (at your option) any later version. |
|
| 16 |
-// |
|
| 17 |
-// This program is distributed in the hope that it will be useful, |
|
| 18 |
-// but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 19 |
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 20 |
-// GNU General Public License for more details. |
|
| 21 |
-// |
|
| 22 |
-// To read the license please visit http://www.gnu.org/copyleft/gpl.html |
|
| 23 |
-// ---------------------------------------------------------------------- |
|
| 24 |
- |
|
| 25 |
-if(!defined("_CHARSET")) exit( );
|
|
| 26 |
- |
|
| 27 |
-// Build the user's profile information |
|
| 28 |
-$tpl->newBlock("profile");
|
|
| 29 |
-$result2 = dbquery("SELECT *, UNIX_TIMESTAMP(date) as date FROM "._AUTHORTABLE." LEFT JOIN ".TABLEPREFIX."fanfiction_authorprefs as ap ON ap.uid = "._UIDFIELD." WHERE "._UIDFIELD." = '$uid' LIMIT 1");
|
|
| 30 |
-$userinfo = dbassoc($result2); |
|
| 31 |
-$nameinfo = ""; |
|
| 32 |
-if($userinfo['email']) |
|
| 33 |
- $nameinfo .= " [<a href=\"viewuser.php?action=contact&uid=".$userinfo['uid']."\">"._CONTACT."</a>]"; |
|
| 34 |
-if(!empty($favorites) && $loggedin && $userinfo['uid'] != USERUID) {
|
|
| 35 |
- $fav = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_favorites WHERE uid = '".USERUID."' AND type = 'AU' AND item = '".$userinfo['uid']."'");
|
|
| 36 |
- if(dbnumrows($fav) == 0) $nameinfo .= " [<a href=\"user.php?uid=USERUID&action=favau&author=".$userinfo['uid']."\">"._ADDAUTHOR2FAVES."</a>]"; |
|
| 37 |
-} |
|
| 38 |
-$tpl->assign("userpenname", $userinfo['penname']." ".$nameinfo);
|
|
| 39 |
-$tpl->assign("membersince", date("$dateformat", $userinfo['date']));
|
|
| 40 |
-if($userinfo['realname']) |
|
| 41 |
- $tpl->assign("realname", $userinfo['realname']);
|
|
| 42 |
-if($userinfo['bio']) {
|
|
| 43 |
- $bio = nl2br($userinfo['bio']); |
|
| 44 |
- $tpl->assign("bio", stripslashes($bio));
|
|
| 45 |
-} |
|
| 46 |
-if($userinfo['image']) |
|
| 47 |
- $tpl->assign("image", "<img src=\"".$userinfo['image']."\">");
|
|
| 48 |
-$tpl->assign("userlevel", isset($userinfo['level']) && $userinfo['level'] > 0 && $userinfo['level'] < 4 ? _ADMINISTRATOR.(isADMIN ? " - ".$userinfo['level'] : "") : _MEMBER);
|
|
| 49 |
-/* Dynamic authorinfo fields */ |
|
| 50 |
-$result2 = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_authorinfo WHERE uid = '$uid'");
|
|
| 51 |
-$dynamicfields = ""; |
|
| 52 |
-while($field = dbassoc($result2)) {
|
|
| 53 |
- if($field['info'] == "") continue; |
|
| 54 |
- $fieldinfo = dbassoc(dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_authorfields WHERE field_id = '".$field['field']."' LIMIT 1"));
|
|
| 55 |
- if($fieldinfo) {
|
|
| 56 |
- $thisfield = ""; |
|
| 57 |
- if($fieldinfo['field_on'] == 0) continue; |
|
| 58 |
- if($fieldinfo['field_type'] == 1) { $thisfield = format_link($field['info']);
|
|
| 59 |
- } |
|
| 60 |
- if($fieldinfo['field_type'] == 4) {
|
|
| 61 |
- $thisfield = preg_replace("@\{info\}@", $field['info'], $fieldinfo['field_options']);
|
|
| 62 |
- $thisfield = format_link($thisfield); |
|
| 63 |
- } |
|
| 64 |
- if($fieldinfo['field_type'] == 2 || $fieldinfo['field_type'] == 6) {
|
|
| 65 |
- $thisfield = stripslashes($field['info']); |
|
| 66 |
- } |
|
| 67 |
- if($fieldinfo['field_type'] == 3) {
|
|
| 68 |
- $thisfield = $field['info']; |
|
| 69 |
- } |
|
| 70 |
- else eval($fieldinfo['field_code_out']); |
|
| 71 |
- $tpl->assign($fieldinfo['field_name'], $thisfield); |
|
| 72 |
- $dynamicfields .= "<div class='authorfields'><span class='label'>".$fieldinfo['field_title'].":</span> ".$thisfield."</div>"; |
|
| 73 |
- } |
|
| 74 |
-} |
|
| 75 |
-if(!empty($dynamicfields)) $tpl->assign("authorfields", $dynamicfields);
|
|
| 76 |
-$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&url=viewuser.php?uid=".$uid."\">"._REPORTTHIS."</a>]");
|
|
| 77 |
-/* End dynamic fields */ |
|
| 78 |
-$adminopts = ""; |
|
| 79 |
-if(isADMIN && uLEVEL < 3) {
|
|
| 80 |
- $adminopts .= "<div class=\"adminoptions\"><span class='label'>"._ADMINOPTIONS.":</span> ".(isset($userinfo['validated']) && $userinfo['validated'] ? "[<a href=\"admin.php?action=members&revoke=$uid\" class=\"vuadmin\">"._REVOKEVAL."</a>] " : "[<a href=\"admin.php?action=members&validate=$uid\" class=\"vuadmin\">"._VALIDATE."</a>] ")."[<a href=\"user.php?action=editbio&uid=$uid\" class=\"vuadmin\">"._EDIT."</a>] [<a href=\"admin.php?action=members&delete=$uid\" class=\"vuadmin\">"._DELETE."</a>]"; |
|
| 81 |
- $adminopts .= " [<a href=\"admin.php?action=members&".($userinfo['level'] < 0 ? "unlock=".$userinfo['uid']."\" class=\"vuadmin\">"._UNLOCKMEM : "lock=".$userinfo['uid']."\" class=\"vuadmin\">"._LOCKMEM)."</a>]"; |
|
| 82 |
- $adminopts .= " [<a href=\"admin.php?action=admins&".(isset($userinfo['level']) && $userinfo['level'] > 0 ? "revoke=$uid\" class=\"vuadmin\">"._REVOKEADMIN."</a>] [<a href=\"admin.php?action=admins&do=edit&uid=$uid\" class=\"vuadmin\">"._EDITADMIN : "do=new&uid=$uid\" class=\"vuadmin\">"._MAKEADMIN)."</a>]</div>"; |
|
| 83 |
- $tpl->assign("adminoptions", $adminopts);
|
|
| 84 |
-} |
|
| 85 |
-$tpl->gotoBlock("_ROOT");
|
|
| 86 |
-?> |
|
| 87 | 1 |
\ No newline at end of file |
| 2 |
+<?php |
|
| 3 |
+// ---------------------------------------------------------------------- |
|
| 4 |
+// eFiction 3.2 |
|
| 5 |
+// Copyright (c) 2007 by Tammy Keefer |
|
| 6 |
+// Valid HTML 4.01 Transitional |
|
| 7 |
+// Based on eFiction 1.1 |
|
| 8 |
+// Copyright (C) 2003 by Rebecca Smallwood. |
|
| 9 |
+// http://efiction.sourceforge.net/ |
|
| 10 |
+// ---------------------------------------------------------------------- |
|
| 11 |
+// LICENSE |
|
| 12 |
+// |
|
| 13 |
+// This program is free software; you can redistribute it and/or |
|
| 14 |
+// modify it under the terms of the GNU General Public License (GPL) |
|
| 15 |
+// as published by the Free Software Foundation; either version 2 |
|
| 16 |
+// of the License, or (at your option) any later version. |
|
| 17 |
+// |
|
| 18 |
+// This program is distributed in the hope that it will be useful, |
|
| 19 |
+// but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 20 |
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 21 |
+// GNU General Public License for more details. |
|
| 22 |
+// |
|
| 23 |
+// To read the license please visit http://www.gnu.org/copyleft/gpl.html |
|
| 24 |
+// ---------------------------------------------------------------------- |
|
| 25 |
+ |
|
| 26 |
+if(!defined("_CHARSET")) exit( );
|
|
| 27 |
+ |
|
| 28 |
+// Build the user's profile information |
|
| 29 |
+$tpl->newBlock("profile");
|
|
| 30 |
+$result2 = dbquery("SELECT *, date as date FROM "._AUTHORTABLE." LEFT JOIN ".TABLEPREFIX."fanfiction_authorprefs as ap ON ap.uid = "._UIDFIELD." WHERE "._UIDFIELD." = '$uid' LIMIT 1");
|
|
| 31 |
+$userinfo = dbassoc($result2); |
|
| 32 |
+$nameinfo = ""; |
|
| 33 |
+if($userinfo['email']) |
|
| 34 |
+ $nameinfo .= " [<a href=\"viewuser.php?action=contact&uid=".$userinfo['uid']."\">"._CONTACT."</a>]"; |
|
| 35 |
+if(!empty($favorites) && isMEMBER && $userinfo['uid'] != USERUID) {
|
|
| 36 |
+ $fav = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_favorites WHERE uid = '".USERUID."' AND type = 'AU' AND item = '".$userinfo['uid']."'");
|
|
| 37 |
+ if(dbnumrows($fav) == 0) $nameinfo .= " [<a href=\"user.php?action=favau&uid=".USERUID."&add=".$userinfo['uid']."\">"._ADDAUTHOR2FAVES."</a>]"; |
|
| 38 |
+} |
|
| 39 |
+ |
|
| 40 |
+$tpl->assign("userpenname", $userinfo['penname']." ".$nameinfo);
|
|
| 41 |
+$tpl->assign("membersince", date("$dateformat", $userinfo['date']));
|
|
| 42 |
+ |
|
| 43 |
+if($userinfo['realname']) |
|
| 44 |
+ $tpl->assign("realname", $userinfo['realname']);
|
|
| 45 |
+if($userinfo['bio']) {
|
|
| 46 |
+ $bio = nl2br($userinfo['bio']); |
|
| 47 |
+ $tpl->assign("bio", stripslashes($bio));
|
|
| 48 |
+} |
|
| 49 |
+if($userinfo['image']) |
|
| 50 |
+ $tpl->assign("image", "<img src=\"".$userinfo['image']."\">");
|
|
| 51 |
+ |
|
| 52 |
+$tpl->assign("userlevel", isset($userinfo['level']) && $userinfo['level'] > 0 && $userinfo['level'] < 4 ? _ADMINISTRATOR.(isADMIN ? " - ".$userinfo['level'] : "") : _MEMBER);
|
|
| 53 |
+ |
|
| 54 |
+/* Dynamic authorinfo fields */ |
|
| 55 |
+$result2 = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_authorinfo WHERE uid = '$uid'");
|
|
| 56 |
+$dynamicfields = ""; |
|
| 57 |
+while($field = dbassoc($result2)) {
|
|
| 58 |
+ if($field['info'] == "") continue; |
|
| 59 |
+ $fieldinfo = dbassoc(dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_authorfields WHERE field_id = '".$field['field']."' LIMIT 1"));
|
|
| 60 |
+ if($fieldinfo) {
|
|
| 61 |
+ $thisfield = ""; |
|
| 62 |
+ if($fieldinfo['field_on'] == 0) continue; |
|
| 63 |
+ if($fieldinfo['field_type'] == 1) { $thisfield = format_link($field['info']);
|
|
| 64 |
+ } |
|
| 65 |
+ if($fieldinfo['field_type'] == 4) {
|
|
| 66 |
+ $thisfield = preg_replace("@\{info\}@", $field['info'], $fieldinfo['field_options']);
|
|
| 67 |
+ $thisfield = format_link($thisfield); |
|
| 68 |
+ } |
|
| 69 |
+ if($fieldinfo['field_type'] == 2 || $fieldinfo['field_type'] == 6) {
|
|
| 70 |
+ $thisfield = stripslashes($field['info']); |
|
| 71 |
+ } |
|
| 72 |
+ if($fieldinfo['field_type'] == 3) {
|
|
| 73 |
+ $thisfield = $field['info']; |
|
| 74 |
+ } |
|
| 75 |
+ else eval($fieldinfo['field_code_out']); |
|
| 76 |
+ $tpl->assign($fieldinfo['field_name'], $thisfield); |
|
| 77 |
+ $dynamicfields .= "<div class='authorfields'><span class='label'>".$fieldinfo['field_title'].":</span> ".$thisfield."</div>"; |
|
| 78 |
+ } |
|
| 79 |
+} |
|
| 80 |
+$codequery = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_codeblocks WHERE code_type = 'userprofile'");
|
|
| 81 |
+while($code = dbassoc($codequery)) {
|
|
| 82 |
+ eval($code['code_text']); |
|
| 83 |
+} |
|
| 84 |
+if(!empty($dynamicfields)) $tpl->assign("authorfields", $dynamicfields);
|
|
| 85 |
+/* End dynamic fields */ |
|
| 86 |
+$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&url=viewuser.php?uid=".$uid."\">"._REPORTTHIS."</a>]");
|
|
| 87 |
+$adminopts = ""; |
|
| 88 |
+if(isADMIN && uLEVEL < 3) {
|
|
| 89 |
+ $adminopts .= "<div class=\"adminoptions\"><span class='label'>"._ADMINOPTIONS.":</span> ".(isset($userinfo['validated']) && $userinfo['validated'] ? "[<a href=\"admin.php?action=members&revoke=$uid\" class=\"vuadmin\">"._REVOKEVAL."</a>] " : "[<a href=\"admin.php?action=members&validate=$uid\" class=\"vuadmin\">"._VALIDATE."</a>] ")."[<a href=\"user.php?action=editbio&uid=$uid\" class=\"vuadmin\">"._EDIT."</a>] [<a href=\"admin.php?action=members&delete=$uid\" class=\"vuadmin\">"._DELETE."</a>]"; |
|
| 90 |
+ $adminopts .= " [<a href=\"admin.php?action=members&".($userinfo['level'] < 0 ? "unlock=".$userinfo['uid']."\" class=\"vuadmin\">"._UNLOCKMEM : "lock=".$userinfo['uid']."\" class=\"vuadmin\">"._LOCKMEM)."</a>]"; |
|
| 91 |
+ $adminopts .= " [<a href=\"admin.php?action=admins&".(isset($userinfo['level']) && $userinfo['level'] > 0 ? "revoke=$uid\" class=\"vuadmin\">"._REVOKEADMIN."</a>] [<a href=\"admin.php?action=admins&do=edit&uid=$uid\" class=\"vuadmin\">"._EDITADMIN : "do=new&uid=$uid\" class=\"vuadmin\">"._MAKEADMIN)."</a>]</div>"; |
|
| 92 |
+ $tpl->assign("adminoptions", $adminopts);
|
|
| 93 |
+} |
|
| 94 |
+$tpl->gotoBlock("_ROOT");
|
|
| 95 |
+?> |
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,86 @@ |
| 1 |
+<?php |
|
| 2 |
+// ---------------------------------------------------------------------- |
|
| 3 |
+// eFiction 3.2 |
|
| 4 |
+// Copyright (c) 2007 by Tammy Keefer |
|
| 5 |
+// Valid HTML 4.01 Transitional |
|
| 6 |
+// Based on eFiction 1.1 |
|
| 7 |
+// Copyright (C) 2003 by Rebecca Smallwood. |
|
| 8 |
+// http://efiction.sourceforge.net/ |
|
| 9 |
+// ---------------------------------------------------------------------- |
|
| 10 |
+// LICENSE |
|
| 11 |
+// |
|
| 12 |
+// This program is free software; you can redistribute it and/or |
|
| 13 |
+// modify it under the terms of the GNU General Public License (GPL) |
|
| 14 |
+// as published by the Free Software Foundation; either version 2 |
|
| 15 |
+// of the License, or (at your option) any later version. |
|
| 16 |
+// |
|
| 17 |
+// This program is distributed in the hope that it will be useful, |
|
| 18 |
+// but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 19 |
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 20 |
+// GNU General Public License for more details. |
|
| 21 |
+// |
|
| 22 |
+// To read the license please visit http://www.gnu.org/copyleft/gpl.html |
|
| 23 |
+// ---------------------------------------------------------------------- |
|
| 24 |
+ |
|
| 25 |
+if(!defined("_CHARSET")) exit( );
|
|
| 26 |
+ |
|
| 27 |
+// Build the user's profile information |
|
| 28 |
+$tpl->newBlock("profile");
|
|
| 29 |
+$result2 = dbquery("SELECT *, UNIX_TIMESTAMP(date) as date FROM "._AUTHORTABLE." LEFT JOIN ".TABLEPREFIX."fanfiction_authorprefs as ap ON ap.uid = "._UIDFIELD." WHERE "._UIDFIELD." = '$uid' LIMIT 1");
|
|
| 30 |
+$userinfo = dbassoc($result2); |
|
| 31 |
+$nameinfo = ""; |
|
| 32 |
+if($userinfo['email']) |
|
| 33 |
+ $nameinfo .= " [<a href=\"viewuser.php?action=contact&uid=".$userinfo['uid']."\">"._CONTACT."</a>]"; |
|
| 34 |
+if(!empty($favorites) && $loggedin && $userinfo['uid'] != USERUID) {
|
|
| 35 |
+ $fav = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_favorites WHERE uid = '".USERUID."' AND type = 'AU' AND item = '".$userinfo['uid']."'");
|
|
| 36 |
+ if(dbnumrows($fav) == 0) $nameinfo .= " [<a href=\"user.php?uid=USERUID&action=favau&author=".$userinfo['uid']."\">"._ADDAUTHOR2FAVES."</a>]"; |
|
| 37 |
+} |
|
| 38 |
+$tpl->assign("userpenname", $userinfo['penname']." ".$nameinfo);
|
|
| 39 |
+$tpl->assign("membersince", date("$dateformat", $userinfo['date']));
|
|
| 40 |
+if($userinfo['realname']) |
|
| 41 |
+ $tpl->assign("realname", $userinfo['realname']);
|
|
| 42 |
+if($userinfo['bio']) {
|
|
| 43 |
+ $bio = nl2br($userinfo['bio']); |
|
| 44 |
+ $tpl->assign("bio", stripslashes($bio));
|
|
| 45 |
+} |
|
| 46 |
+if($userinfo['image']) |
|
| 47 |
+ $tpl->assign("image", "<img src=\"".$userinfo['image']."\">");
|
|
| 48 |
+$tpl->assign("userlevel", isset($userinfo['level']) && $userinfo['level'] > 0 && $userinfo['level'] < 4 ? _ADMINISTRATOR.(isADMIN ? " - ".$userinfo['level'] : "") : _MEMBER);
|
|
| 49 |
+/* Dynamic authorinfo fields */ |
|
| 50 |
+$result2 = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_authorinfo WHERE uid = '$uid'");
|
|
| 51 |
+$dynamicfields = ""; |
|
| 52 |
+while($field = dbassoc($result2)) {
|
|
| 53 |
+ if($field['info'] == "") continue; |
|
| 54 |
+ $fieldinfo = dbassoc(dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_authorfields WHERE field_id = '".$field['field']."' LIMIT 1"));
|
|
| 55 |
+ if($fieldinfo) {
|
|
| 56 |
+ $thisfield = ""; |
|
| 57 |
+ if($fieldinfo['field_on'] == 0) continue; |
|
| 58 |
+ if($fieldinfo['field_type'] == 1) { $thisfield = format_link($field['info']);
|
|
| 59 |
+ } |
|
| 60 |
+ if($fieldinfo['field_type'] == 4) {
|
|
| 61 |
+ $thisfield = preg_replace("@\{info\}@", $field['info'], $fieldinfo['field_options']);
|
|
| 62 |
+ $thisfield = format_link($thisfield); |
|
| 63 |
+ } |
|
| 64 |
+ if($fieldinfo['field_type'] == 2 || $fieldinfo['field_type'] == 6) {
|
|
| 65 |
+ $thisfield = stripslashes($field['info']); |
|
| 66 |
+ } |
|
| 67 |
+ if($fieldinfo['field_type'] == 3) {
|
|
| 68 |
+ $thisfield = $field['info']; |
|
| 69 |
+ } |
|
| 70 |
+ else eval($fieldinfo['field_code_out']); |
|
| 71 |
+ $tpl->assign($fieldinfo['field_name'], $thisfield); |
|
| 72 |
+ $dynamicfields .= "<div class='authorfields'><span class='label'>".$fieldinfo['field_title'].":</span> ".$thisfield."</div>"; |
|
| 73 |
+ } |
|
| 74 |
+} |
|
| 75 |
+if(!empty($dynamicfields)) $tpl->assign("authorfields", $dynamicfields);
|
|
| 76 |
+$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&url=viewuser.php?uid=".$uid."\">"._REPORTTHIS."</a>]");
|
|
| 77 |
+/* End dynamic fields */ |
|
| 78 |
+$adminopts = ""; |
|
| 79 |
+if(isADMIN && uLEVEL < 3) {
|
|
| 80 |
+ $adminopts .= "<div class=\"adminoptions\"><span class='label'>"._ADMINOPTIONS.":</span> ".(isset($userinfo['validated']) && $userinfo['validated'] ? "[<a href=\"admin.php?action=members&revoke=$uid\" class=\"vuadmin\">"._REVOKEVAL."</a>] " : "[<a href=\"admin.php?action=members&validate=$uid\" class=\"vuadmin\">"._VALIDATE."</a>] ")."[<a href=\"user.php?action=editbio&uid=$uid\" class=\"vuadmin\">"._EDIT."</a>] [<a href=\"admin.php?action=members&delete=$uid\" class=\"vuadmin\">"._DELETE."</a>]"; |
|
| 81 |
+ $adminopts .= " [<a href=\"admin.php?action=members&".($userinfo['level'] < 0 ? "unlock=".$userinfo['uid']."\" class=\"vuadmin\">"._UNLOCKMEM : "lock=".$userinfo['uid']."\" class=\"vuadmin\">"._LOCKMEM)."</a>]"; |
|
| 82 |
+ $adminopts .= " [<a href=\"admin.php?action=admins&".(isset($userinfo['level']) && $userinfo['level'] > 0 ? "revoke=$uid\" class=\"vuadmin\">"._REVOKEADMIN."</a>] [<a href=\"admin.php?action=admins&do=edit&uid=$uid\" class=\"vuadmin\">"._EDITADMIN : "do=new&uid=$uid\" class=\"vuadmin\">"._MAKEADMIN)."</a>]</div>"; |
|
| 83 |
+ $tpl->assign("adminoptions", $adminopts);
|
|
| 84 |
+} |
|
| 85 |
+$tpl->gotoBlock("_ROOT");
|
|
| 86 |
+?> |
|
| 0 | 87 |
\ No newline at end of file |