| ... | ... |
@@ -233,13 +233,13 @@ $confirm = isset($_GET['confirm']) ? $_GET['confirm'] : false; |
| 233 | 233 |
} |
| 234 | 234 |
else if($list == "authors") {
|
| 235 | 235 |
$where = " WHERE ap.stories > 0"; |
| 236 |
- $authorlink = "<a href=\"user.php?action=editbio&uid="; |
|
| 236 |
+ $authorlink = "<a href=\"member.php?action=editbio&uid="; |
|
| 237 | 237 |
$output .= _AUTHORS; |
| 238 | 238 |
} |
| 239 | 239 |
else {
|
| 240 | 240 |
$where = ""; |
| 241 | 241 |
$do = "members"; |
| 242 |
- $authorlink = "<a href=\"user.php?action=editbio&uid="; |
|
| 242 |
+ $authorlink = "<a href=\"member.php?action=editbio&uid="; |
|
| 243 | 243 |
$output .= _MEMBERS; |
| 244 | 244 |
} |
| 245 | 245 |
if($let == _OTHER) {
|
| ... | ... |
@@ -4,7 +4,7 @@ if(!defined("_CHARSET")) exit( );
|
| 4 | 4 |
$longform = "{penname} {password} {rememberme} {go} <div id='loginlinks'>{register} | {lostpwd}</div>";
|
| 5 | 5 |
$shortform = "{penname} {password} {rememberme} {go}";
|
| 6 | 6 |
if(!isMEMBER) {
|
| 7 |
- $content = "<form method=\"POST\" id=\"loginblock\" enctype=\"multipart/form-data\" action=\""._BASEDIR."user.php?action=login\">"; |
|
| 7 |
+ $content = "<form method=\"POST\" id=\"loginblock\" enctype=\"multipart/form-data\" action=\""._BASEDIR."member.php?action=login\">"; |
|
| 8 | 8 |
$replace = array("<label for=\"penname=\">"._PENNAME.":</label><INPUT type=\"text\" class=\"textbox\" name=\"penname\" id=\"penname\" size=\"15\">",
|
| 9 | 9 |
"<label for=\"password\">"._PASSWORD.":</label><INPUT type=\"password\" class=\"textbox\" name=\"password\" id=\"password\" size=\"15\">", |
| 10 | 10 |
"<span id='rememberme'><INPUT type=\"checkbox\" class=\"checkbox\" name=\"cookiecheck\" id=\"cookiecheck\" value=\"1\"><label for=\"cookiecheck=\">"._REMEMBERME."</label></span>", |
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 | 1 |
INSERT INTO `fanfiction_messages` (`message_id`, `message_name`, `message_title`, `message_text`) VALUES (1, 'welcome', '', 'This is your welcome message. It appears on the index page. Include it in your .tpl files with {welcome}.'),
|
| 2 | 2 |
(2, 'copyright', '', 'This is your sample copyright footer. Include it in your footer.tpl with <b>{footer}</b><br />\r\n<u>Disclaimer:</u> All publicly recognizable characters, settings, etc. are the property of their respective owners. The original characters and plot are the property of the author. No money is being made from this work. No copyright infringement is intended.\r\n'),
|
| 3 |
-(3, 'help', 'Help', '<h3>FAQ</h3><p><strong>I forgot my password! What do I do now?</strong></p><p>To recover a lost password, <a href="user.php?action=lostpassword">click here</a> and enter the e-mail address with which you registered. Your password will be sent to you shortly.</p><p><strong>What kinds of stories are allowed?</strong></p><p>See our <a href="submission.php">Submission Rules.</a></p><p><strong>How do I contact the site administrators?</strong></p><p>You can e-mail us via our <a href="contact.php">contact form.</a></p><p><strong>How do I submit stories?</strong></p><p>If you have not already done so, please <a href="user.php?action=newaccount">register for an account</a>. Once you''ve logged in, click on <a href="user.php">Account Information</a> and choose <a href="stories.php?action=newstory">Add Story</a>. The form presented there will allow you to submit your story.</p><p><strong>What are the ratings used on the site?</strong></p><p>We use the ratings system from <a href="http://www.fictionratings.com/">www.fictionratings.com</a>.</p><p><strong>What are the story classifications?</strong></p><p>Stories are classified by categories, genres, and warnings.</p>'), |
|
| 3 |
+(3, 'help', 'Help', '<h3>FAQ</h3><p><strong>I forgot my password! What do I do now?</strong></p><p>To recover a lost password, <a href="member.php?action=lostpassword">click here</a> and enter the e-mail address with which you registered. Your password will be sent to you shortly.</p><p><strong>What kinds of stories are allowed?</strong></p><p>See our <a href="submission.php">Submission Rules.</a></p><p><strong>How do I contact the site administrators?</strong></p><p>You can e-mail us via our <a href="contact.php">contact form.</a></p><p><strong>How do I submit stories?</strong></p><p>If you have not already done so, please <a href="member.php?action=newaccount">register for an account</a>. Once you''ve logged in, click on <a href="member.php">Account Information</a> and choose <a href="stories.php?action=newstory">Add Story</a>. The form presented there will allow you to submit your story.</p><p><strong>What are the ratings used on the site?</strong></p><p>We use the ratings system from <a href="http://www.fictionratings.com/">www.fictionratings.com</a>.</p><p><strong>What are the story classifications?</strong></p><p>Stories are classified by categories, genres, and warnings.</p>'), |
|
| 4 | 4 |
(4, 'nothankyou', '{sitename} Submission Rejection', 'Your recent submission of "{storytitle} : {chaptertitle}" to {sitename} did not meet our requirements for submission. Please review our {rules}.<br /><br />\r\n\r\n{adminname}'),
|
| 5 | 5 |
(5, 'printercopyright', '', '<u>Disclaimer:</u> All publicly recognizable characters and settings are the property of their respective owners. The original characters and plot are the property of the author. No money is being made from this work. No copyright infringement is intended.'), |
| 6 | 6 |
(6, 'rules', 'Submission Rules', '<p align="center"><strong>Submission Rules</strong></p>\r\n<ol>\r\n <li>All submissions must be accompanied by a complete disclaimer. If a \r\n suitable disclaimer is not included, the site administrators reserve the right \r\n to add a disclaimer. Repeat offenders may be subject to further action \r\n up to and including removal of stories and account.\r\n<div class="tblborder" style="width: 400px; margin: 1em auto;">\r\n<div style="background: #000; color: #FFF; padding: 5px; text-align: center; font-weight: bold;">Sample Disclaimer</div>\r\n<div class="tblborder" style="padding: 5px;"><span style="text-decoration: underline;">Disclaimer:</span> All publicly recognizable characters, settings, etc. are the property of their respective owners. The original characters and plot are the property of the author. \r\n The author is in no way associated with the owners, creators, or producers of any media franchise. No copyright infringement is intended.</div>\r\n </div>\r\n </li>\r\n <li>Stories must be submitted to the proper category. If there is an appropriate sub-category, <strong>DO NOT</strong> add your story to the main category. The submission \r\n form allows you to choose multiple categories for your story, and we worked very hard to add that functionality for you. <u><strong>So please \r\n do NOT add your story multiple times!</strong></u></li>\r\n <li>Titles and summaries must be kid friendly. No exceptions. </li>\r\n <li>"Please read", "Untitled", etc. are not acceptable titles or summaries.</li>\r\n <li>A number of authors have requested that fans refrain from writing fan \r\n fiction based on their work. Therefore submissions will not be \r\n accepted based on the works of P.N. Elrod, Raymond Feist, Terry Goodkind, \r\n Laurell K. Hamilton, Anne McCaffrey, Robin McKinley, Irene Radford, Anne Rice, \r\n and Nora Roberts/J.D. Robb. </li>\r\n <li>Actor/actress stories are not permitted...not even if they''re visiting an \r\n alternate reality.</li>\r\n <li>Correct grammar and spelling are expected of all stories submitted to this \r\n site. The site administrators are not grammar Nazis. However, the \r\n site administrators reserve the right to request corrections in submissions \r\n with a multitude of grammar and/or spelling errors. If such a request is \r\n ignored, the story will be deleted.</li>\r\n <li>All stories must be rated correctly and have the appropriate warnings. \r\n All adult rated stories are expected to have warnings. After all, they \r\n wouldn''t have that rating if there wasn''t something to be warned about! The site administrators recognize \r\n that there is an audience for these stories, but please respect those who do \r\n not wish to read them by labeling them appropriately. \r\n <u><strong>Please note: Stories containing adults having sex with minors are strictly forbidden.</strong></u> </li>\r\n <li>Stories with multiple chapters should be archived as such and <span style="font-weight: bold; text-decoration: underline;">NEVER</span> as \r\n separate stories. Upload the first chapter of your story, then go to <a href="stories.php?action=viewstories">Manage Stories</a> in \r\nyour account to add additional chapters. If you have trouble with this, please contact the site administrator or ask a \r\n friend to help you.</li>\r\n <li>As much as possible, spoiler warnings are expected on all stories. For categories with serialized content, such as series of books or television series, \r\n spoilers are <strong>mandatory</strong> for the current season and/or most recent part. An appropriate spoiler warning to place in your summary would be: Spoilers for <u>Star Trek II: The Wrath of Khan.</u> \r\n <strong>DO NOT</strong> do anything like this: <u>Spoilers for the one where Spock dies.</u></li>\r\n</ol>\r\n <p>Submissions found to be in violation of these rules may be removed and the \r\n author''s account suspended at the discretion of the site administrators and/or \r\n moderators. The site administrators reserve the right to modify these \r\n rules as needed.</p>'), |
| ... | ... |
@@ -252,7 +252,7 @@ function title_link($stories) {
|
| 252 | 252 |
$warning = _AGECHECK." - "._AGECONSENT." ".$warningtext." -- 1"; |
| 253 | 253 |
} |
| 254 | 254 |
if($warninglevel[0] && !isMEMBER) {
|
| 255 |
- $location = "user.php?action=login&sid=".$stories['sid']; |
|
| 255 |
+ $location = "member.php?action=login&sid=".$stories['sid']; |
|
| 256 | 256 |
$warning = _RUSERSONLY." - $warningtext"; |
| 257 | 257 |
} |
| 258 | 258 |
if(!empty($warning)) {
|
| ... | ... |
@@ -73,7 +73,7 @@ if(!defined("_CHARSET")) exit( );
|
| 73 | 73 |
if(count($seriescode)) foreach($seriescode as $c) { eval($c); }
|
| 74 | 74 |
$tpl->assign("classifications", $allclasslist);
|
| 75 | 75 |
if(isMEMBER && $favorites) {
|
| 76 |
- $addtofaves = "[<a href=\"user.php?action=favse&uid=".USERUID."&add=".$stories['seriesid']."\">"._ADDSERIES2FAVES."</a>]"; |
|
| 76 |
+ $addtofaves = "[<a href=\"member.php?action=favse&uid=".USERUID."&add=".$stories['seriesid']."\">"._ADDSERIES2FAVES."</a>]"; |
|
| 77 | 77 |
if($stories['isopen'] < 2) {
|
| 78 | 78 |
$addtofaves .= " [<a href=\"viewuser.php?action=favau&uid=".USERUID."&author=".$stories['uid']."\">"._ADDAUTHOR2FAVES."</a>]"; |
| 79 | 79 |
} |
| ... | ... |
@@ -86,7 +86,7 @@ if(!defined("_CHARSET")) exit( );
|
| 86 | 86 |
$tpl->assign("ratingpics" , ratingpics($stories['rating']) );
|
| 87 | 87 |
$tpl->assign("reviews" , ($reviewsallowed ? "<a href=\""._BASEDIR."reviews.php?type=ST&item=".$stories['sid']."\">"._REVIEWS."</a>" : "") );
|
| 88 | 88 |
if(isMEMBER && !empty($favorites)) |
| 89 |
- $tpl->assign("addtofaves", "[<a href=\""._BASEDIR."user.php?action=favst&add=1&sid=".$stories['sid']."\">"._ADDSTORY2FAVES."</a>] [<a href=\""._BASEDIR."user.php?action=favau&add=".$stories['uid'].(count($stories['coauthors']) ? ",".implode(",", array_keys($stories['coauthors'])) : "")."\">"._ADDAUTHOR2FAVES."</a>]");
|
|
| 89 |
+ $tpl->assign("addtofaves", "[<a href=\""._BASEDIR."member.php?action=favst&add=1&sid=".$stories['sid']."\">"._ADDSTORY2FAVES."</a>] [<a href=\""._BASEDIR."member.php?action=favau&add=".$stories['uid'].(count($stories['coauthors']) ? ",".implode(",", array_keys($stories['coauthors'])) : "")."\">"._ADDAUTHOR2FAVES."</a>]");
|
|
| 90 | 90 |
|
| 91 | 91 |
$numchapsquery = dbquery("SELECT count(sid) FROM ".TABLEPREFIX."fanfiction_chapters WHERE sid = '".$stories['sid']."' AND validated > 0");
|
| 92 | 92 |
list($chapters) = dbrow($numchapsquery); |
| ... | ... |
@@ -215,7 +215,7 @@ switch($_GET['step']) {
|
| 215 | 215 |
$output .= "<tr><td>Welcome</td><td align='center'>" . ($msg ? "<img src=\"../images/check.gif\">" : "<img src=\"../images/X.gif\">") ."</td></tr>"; |
| 216 | 216 |
$msg = dbquery("INSERT INTO `".$tableprefix."fanfiction_messages` VALUES (2, 'copyright', '', 'This is your sample copyright footer. Include it in your footer.tpl with <b>{footer}</b><br />\r\n<u>Disclaimer:</u> All publicly recognizable characters, settings, etc. are the property of their respective owners. The original characters and plot are the property of the author. No money is being made from this work. No copyright infringement is intended.\r\n');");
|
| 217 | 217 |
$output .= "<tr><td>Copyright</td><td align='center'>" . ($msg ? "<img src=\"../images/check.gif\">" : "<img src=\"../images/X.gif\">") ."</td></tr>"; |
| 218 |
- $msg = dbquery("INSERT INTO `".$tableprefix."fanfiction_messages` VALUES (3, 'help', 'Help', '<h3>FAQ</h3><p><strong>I forgot my password! What do I do now?</strong></p><p>To recover a lost password, <a href=\"user.php?action=lostpassword\">click here</a> and enter the e-mail address with which you registered. Your password will be sent to you shortly.</p><p><strong>What kinds of stories are allowed?</strong></p><p>See our <a href=\"submission.php\">Submission Rules.</a></p><p><strong>How do I contact the site administrators?</strong></p><p>You can e-mail us via our <a href=\"contact.php\">contact form.</a></p><p><strong>How do I submit stories?</strong></p><p>If you have not already done so, please <a href=\"user.php?action=newaccount\">register for an account</a>. Once you\'ve logged in, click on <a href=\"user.php\">Account Information</a> and choose <a href=\"stories.php?action=newstory\">Add Story</a>. The form presented there will allow you to submit your story.</p><p><strong>What are the ratings used on the site?</strong></p><p>We use the ratings system from <a href=\"http://www.fictionratings.com/\">www.fictionratings.com</a>.</p><p><strong>What are the story classifications?</strong></p><p>Stories are classified by categories, genres, and warnings.</p>');");
|
|
| 218 |
+ $msg = dbquery("INSERT INTO `".$tableprefix."fanfiction_messages` VALUES (3, 'help', 'Help', '<h3>FAQ</h3><p><strong>I forgot my password! What do I do now?</strong></p><p>To recover a lost password, <a href=\"member.php?action=lostpassword\">click here</a> and enter the e-mail address with which you registered. Your password will be sent to you shortly.</p><p><strong>What kinds of stories are allowed?</strong></p><p>See our <a href=\"submission.php\">Submission Rules.</a></p><p><strong>How do I contact the site administrators?</strong></p><p>You can e-mail us via our <a href=\"contact.php\">contact form.</a></p><p><strong>How do I submit stories?</strong></p><p>If you have not already done so, please <a href=\"member.php?action=newaccount\">register for an account</a>. Once you\'ve logged in, click on <a href=\"member.php\">Account Information</a> and choose <a href=\"stories.php?action=newstory\">Add Story</a>. The form presented there will allow you to submit your story.</p><p><strong>What are the ratings used on the site?</strong></p><p>We use the ratings system from <a href=\"http://www.fictionratings.com/\">www.fictionratings.com</a>.</p><p><strong>What are the story classifications?</strong></p><p>Stories are classified by categories, genres, and warnings.</p>');");
|
|
| 219 | 219 |
$output .= "<tr><td>Help</td><td align='center'>" . ($msg ? "<img src=\"../images/check.gif\">" : "<img src=\"../images/X.gif\">") ."</td></tr>"; |
| 220 | 220 |
$msg = dbquery("INSERT INTO `".$tableprefix."fanfiction_messages` VALUES (4, 'nothankyou', 'Submission Rejection', 'Your recent submission of \"{storytitle} : {chaptertitle}\" to {sitename} did not meet our requirements for submission. Please review our {rules}.<br /><br />\r\n\r\n{adminname}');");
|
| 221 | 221 |
$output .= "<tr><td>Rejection Letter</td><td align='center'>" . ($msg ? "<img src=\"../images/check.gif\">" : "<img src=\"../images/X.gif\">") ."</td></tr>"; |
| ... | ... |
@@ -275,9 +275,9 @@ switch($_GET['step']) {
|
| 275 | 275 |
$pagelist = array( |
| 276 | 276 |
array("home","Home","index.php","0","0"),
|
| 277 | 277 |
array("recent","Most Recent","browse.php?type=recent","0","0"),
|
| 278 |
- array("login","Login","user.php?action=login","0","0"),
|
|
| 278 |
+ array("login","Login","member.php?action=login","0","0"),
|
|
| 279 | 279 |
array("adminarea","Admin","admin.php","0","2"),
|
| 280 |
- array("logout","Logout","user.php?action=logout","0","1"),
|
|
| 280 |
+ array("logout","Logout","member.php?action=logout","0","1"),
|
|
| 281 | 281 |
array("featured","Featured Stories","browse.php?type=featured","0","0"),
|
| 282 | 282 |
array("catslink","Categories","browse.php?type=categories","0","0"),
|
| 283 | 283 |
array("members","Members","authors.php?action=list","0","0"),
|
| ... | ... |
@@ -291,10 +291,10 @@ switch($_GET['step']) {
|
| 291 | 291 |
array("rules","Rules","viewpage.php?page=rules","0","0"),
|
| 292 | 292 |
array("tos","Terms of Service","viewpage.php?page=tos","0","0"),
|
| 293 | 293 |
array("rss","<img src=\'images/xml.gif\' alt=\'RSS\' border=\'0\'>","rss.php","0","0"),
|
| 294 |
- array("login","Account Info","user.php","0","1"),
|
|
| 294 |
+ array("login","Account Info","member.php","0","1"),
|
|
| 295 | 295 |
array("titles","Titles","browse.php?type=titles","0","0"),
|
| 296 |
- array("register","Register","user.php?action=register","0","0"),
|
|
| 297 |
- array("lostpassword","Lost Password","user.php?action=lostpassword","0","0"),
|
|
| 296 |
+ array("register","Register","member.php?action=register","0","0"),
|
|
| 297 |
+ array("lostpassword","Lost Password","member.php?action=lostpassword","0","0"),
|
|
| 298 | 298 |
array("newsarchive","News Archive","news.php","0","0"),
|
| 299 | 299 |
array("browse","Browse","browse.php","0","0"),
|
| 300 | 300 |
array("charslink", "Characters", "browse.php?type=characters","0","0"),
|
| ... | ... |
@@ -662,9 +662,9 @@ switch($_GET['step']) {
|
| 662 | 662 |
$pagelist = array( |
| 663 | 663 |
array("home","Home","index.php","0","0"),
|
| 664 | 664 |
array("recent","Most Recent","browse.php?type=recent","0","0"),
|
| 665 |
- array("login","Login","user.php?action=login","0","0"),
|
|
| 665 |
+ array("login","Login","member.php?action=login","0","0"),
|
|
| 666 | 666 |
array("adminarea","Admin","admin.php","0","2"),
|
| 667 |
- array("logout","Logout","user.php?action=logout","0","1"),
|
|
| 667 |
+ array("logout","Logout","member.php?action=logout","0","1"),
|
|
| 668 | 668 |
array("featured","Featured Stories","browse.php?type=featured","0","0"),
|
| 669 | 669 |
array("catslink","Categories","browse.php?type=categories","0","0"),
|
| 670 | 670 |
array("members","Members","authors.php?action=list","0","0"),
|
| ... | ... |
@@ -678,10 +678,10 @@ switch($_GET['step']) {
|
| 678 | 678 |
array("rules","Rules","viewpage.php?page=rules","0","0"),
|
| 679 | 679 |
array("tos","Terms of Service","viewpage.php?page=tos","0","0"),
|
| 680 | 680 |
array("rss","<img src=\'images/xml.gif\' alt=\'RSS\' border=\'0\'>","rss.php","0","0"),
|
| 681 |
- array("login","Account Info","user.php","0","1"),
|
|
| 681 |
+ array("login","Account Info","member.php","0","1"),
|
|
| 682 | 682 |
array("titles","Titles","browse.php?type=titles","0","0"),
|
| 683 |
- array("register","Register","user.php?action=register","0","0"),
|
|
| 684 |
- array("lostpassword","Lost Password","user.php?action=lostpassword","0","0"),
|
|
| 683 |
+ array("register","Register","member.php?action=register","0","0"),
|
|
| 684 |
+ array("lostpassword","Lost Password","member.php?action=lostpassword","0","0"),
|
|
| 685 | 685 |
array("newsarchive","News Archive","news.php","0","0"),
|
| 686 | 686 |
array("browse","Browse","browse.php","0","0"),
|
| 687 | 687 |
array("charslink", "Characters", "browse.php?type=characters","0","0"),
|
| ... | ... |
@@ -28,7 +28,7 @@ define ("_ALLSTORIES", "All Stories");
|
| 28 | 28 |
define ("_ALPHA", "Alphabetically");
|
| 29 | 29 |
define ("_ANONYMOUS", "Anonymous");
|
| 30 | 30 |
define ("_AUTHORSNOTES", "Author's Notes");
|
| 31 |
-define ("_BACK2ACCT", "Back to <a href=\"user.php\">your account</a> area.");
|
|
| 31 |
+define ("_BACK2ACCT", "Back to <a href=\"member.php\">your account</a> area.");
|
|
| 32 | 32 |
define ("_BACK2ADMIN", "Back to <a href=\"admin.php\">Admin</a> area.");
|
| 33 | 33 |
define ("_BACK2CATS", "Back to Main Categories");
|
| 34 | 34 |
define ("_BACK2PREVIOUS", "Back to Previous.");
|
| ... | ... |
@@ -284,11 +284,11 @@ define ("_USETINYMCE", "Use tinyMCE WYSWYG editor");
|
| 284 | 284 |
|
| 285 | 285 |
// User - Edit Bio/Registration (default) |
| 286 | 286 |
define ("_AOL", "AOL IM");
|
| 287 |
-define ("_BADEMAIL", "That address doesn't appear to be in our database. Please <a href=\"user.php?action=lostpassword\">try again.</a>");
|
|
| 287 |
+define ("_BADEMAIL", "That address doesn't appear to be in our database. Please <a href=\"member.php?action=lostpassword\">try again.</a>");
|
|
| 288 | 288 |
define ("_BADUSERNAME", "Sorry! Usernames can only contain letters, numbers, underscores, hyphens, or spaces, and must be between 3 and 20 characters long.");
|
| 289 | 289 |
define ("_BIO", "Bio");
|
| 290 | 290 |
define ("_EDITPERSONAL", "Edit Personal Information");
|
| 291 |
-define ("_EMAILINUSE", "This email address has already been used to sign up for an account. If you've lost your password, please generate a new one by using the <a href=\"user.php?action=lostpassword\">lost password</a> feature.");
|
|
| 291 |
+define ("_EMAILINUSE", "This email address has already been used to sign up for an account. If you've lost your password, please generate a new one by using the <a href=\"member.php?action=lostpassword\">lost password</a> feature.");
|
|
| 292 | 292 |
define ("_ICQ", "ICQ");
|
| 293 | 293 |
define ("_INVALIDEMAIL", "The e-mail address you supplied is an invalid format.");
|
| 294 | 294 |
define ("_NEWACCOUNT", "New Account");
|
| ... | ... |
@@ -296,9 +296,9 @@ define ("_NEWPEN", "%1\$s ( %2\$d ) changed penname %3\$s ( %4\$d ) to %5\$s.");
|
| 296 | 296 |
define ("_MSN", "MSN IM");
|
| 297 | 297 |
define ("_PASSWORD", "Password");
|
| 298 | 298 |
define ("_PASSWORD2", "Confirm Password");
|
| 299 |
-define ("_PASSWORDTWICE", "You must enter your new password twice. Please <a href=\"user.php?action=".$action."\">try again</a>.");
|
|
| 299 |
+define ("_PASSWORDTWICE", "You must enter your new password twice. Please <a href=\"member.php?action=".$action."\">try again</a>.");
|
|
| 300 | 300 |
define ("_PWDREQUIRED", "A password is required to access this function.");
|
| 301 |
-define ("_PENEMAILREQUIRED", "You must fill out the penname and email fields. Please <a href=\"user.php?action=newaccount\">try again</a>.");
|
|
| 301 |
+define ("_PENEMAILREQUIRED", "You must fill out the penname and email fields. Please <a href=\"member.php?action=newaccount\">try again</a>.");
|
|
| 302 | 302 |
define ("_PENNAMEINUSE", "This penname is already in use.");
|
| 303 | 303 |
define ("_REALNAME", "Real name");
|
| 304 | 304 |
define ("_REGISTER", "Register");
|
| ... | ... |
@@ -320,7 +320,7 @@ define ("_FILENAME", "Filename");
|
| 320 | 320 |
define ("_FILENOTEXISTS", "The file <strong>%s</strong> does not exist.");
|
| 321 | 321 |
define ("_IMAGE", "Image");
|
| 322 | 322 |
define ("_IMAGECODE", "HTML code to use image in story");
|
| 323 |
-define ("_IMAGETOOBIG", "This image is too big. Images may only be $imagewidth wide by $imageheight high. Please <a href=\"user.php?action=manageimages&upload=upload\">try again</a>.");
|
|
| 323 |
+define ("_IMAGETOOBIG", "This image is too big. Images may only be $imagewidth wide by $imageheight high. Please <a href=\"member.php?action=manageimages&upload=upload\">try again</a>.");
|
|
| 324 | 324 |
define ("_INVALIDNAME", "Sorry, the filename contains invalid characters. Use only alphanumerical chars and separate parts of the name (if needed) with an underscore. <br>A valid filename ends with one dot followed by the extension.");
|
| 325 | 325 |
define ("_MANAGEIMAGES", "Manage Images");
|
| 326 | 326 |
define ("_MAXFILENAME", "The filename exceeds the maximum length of %s characters.");
|
| ... | ... |
@@ -364,7 +364,7 @@ define ("_REMOVEFAV", "Remove Favorite");
|
| 364 | 364 |
|
| 365 | 365 |
// User - Login |
| 366 | 366 |
|
| 367 |
-define ("_WRONGPASSWORD", "That password doesn't match the one in our database. Please <a href=\"user.php?action=login\">try again</a> or retrieve a <a href=\"user.php?action=lostpassword\">new password</a> if you can't remember yours.");
|
|
| 367 |
+define ("_WRONGPASSWORD", "That password doesn't match the one in our database. Please <a href=\"member.php?action=login\">try again</a> or retrieve a <a href=\"member.php?action=lostpassword\">new password</a> if you can't remember yours.");
|
|
| 368 | 368 |
define ("_ACCOUNTLOCKED", "This account has been locked by the adminstrators of this site. Please <a href='contact.php'>contact</a> the site adminstrators for more information.");
|
| 369 | 369 |
define ("_NOSUCHACCOUNT", "There is no such account on our website."); // Added 6-18-2008
|
| 370 | 370 |
|
| 371 | 371 |
similarity index 96% |
| 372 | 372 |
rename from user.php |
| 373 | 373 |
rename to member.php |
| ... | ... |
@@ -50,7 +50,7 @@ if((empty($action) || $action == "login") && isMEMBER) {
|
| 50 | 50 |
$panelquery = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_panels WHERE panel_hidden != '1' AND panel_level = '1' AND (panel_type = 'U' ".(!$submissionsoff || isADMIN ? " OR panel_type = 'S'" : "").($favorites ? " OR panel_type = 'F'" : "").") ORDER BY panel_type, panel_order, panel_title ASC");
|
| 51 | 51 |
if(!dbnumrows($panelquery)) $output .= _FATALERROR; |
| 52 | 52 |
while($panel = dbassoc($panelquery)) {
|
| 53 |
- if(!$panel['panel_url']) $output .= "<a href=\"user.php?action=".$panel['panel_name']."\">".$panel['panel_title']."</a><br />\n"; |
|
| 53 |
+ if(!$panel['panel_url']) $output .= "<a href=\"member.php?action=".$panel['panel_name']."\">".$panel['panel_title']."</a><br />\n"; |
|
| 54 | 54 |
else $output .= "<a href=\"".$panel['panel_url']."\">".$panel['panel_title']."</a><br />\n"; |
| 55 | 55 |
} |
| 56 | 56 |
$output .= "</div>\n"; |
| ... | ... |
@@ -379,7 +379,7 @@ else {
|
| 379 | 379 |
$reviewer = $reviews['reviewer']; |
| 380 | 380 |
$member = _ANONYMOUS; |
| 381 | 381 |
} |
| 382 |
- if(empty($reviews['respond']) && (USERUID == $authoruid || (isset($coauthors) && in_array(USERUID, $coauthors)))) $adminlink .= " [<a href=\"user.php?action=revres&reviewid=".$reviews['reviewid']."\">"._RESPOND."</a>]"; |
|
| 382 |
+ if(empty($reviews['respond']) && (USERUID == $authoruid || (isset($coauthors) && in_array(USERUID, $coauthors)))) $adminlink .= " [<a href=\"member.php?action=revres&reviewid=".$reviews['reviewid']."\">"._RESPOND."</a>]"; |
|
| 383 | 383 |
$tpl->newBlock("reviewsblock");
|
| 384 | 384 |
$tpl->assign("reviewer" , $reviewer );
|
| 385 | 385 |
$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&url=reviews.php?reviewid=".$reviews['reviewid']."\">"._REPORTTHIS."</a>]");
|
| ... | ... |
@@ -167,7 +167,7 @@ function random_string ($charset_string, $length) |
| 167 | 167 |
list($tos) = dbrow($query); |
| 168 | 168 |
$output .= "<div class='tblborder' style='width: 90%; margin: 1em auto;'>$tos</div>"; |
| 169 | 169 |
} |
| 170 |
- $output .= "<div id='settingsform'><form method=\"POST\" id=\"editbio\" name=\"editbio\" enctype=\"multipart/form-data\" style='margin: 0 auto;' action=\"user.php?action=$action".($uid != USERUID ? "&uid=".$uid : "")."\"> |
|
| 170 |
+ $output .= "<div id='settingsform'><form method=\"POST\" id=\"editbio\" name=\"editbio\" enctype=\"multipart/form-data\" style='margin: 0 auto;' action=\"member.php?action=$action".($uid != USERUID ? "&uid=".$uid : "")."\"> |
|
| 171 | 171 |
<div><label for='newpenname'>"._PENNAME.":</label>"; |
| 172 | 172 |
if((isADMIN && uLEVEL == 1) || $action == "register") |
| 173 | 173 |
$output .= "<INPUT name=\"newpenname\" type=\"text\" class=\"textbox\" maxlength=\"200\" value=\"".(isset($user) ? $user['penname'] : "")."\"><INPUT name=\"oldpenname\" type=\"hidden\" value=\"".(isset($user) ? $user['penname'] : "")."\"><font color=\"red\">*</font> "; |
| ... | ... |
@@ -45,7 +45,7 @@ if(!defined("_CHARSET")) exit( );
|
| 45 | 45 |
$result = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_authorprefs WHERE uid = '".USERUID."' LIMIT 1");
|
| 46 | 46 |
} |
| 47 | 47 |
$user = dbassoc($result); |
| 48 |
- $output .= "<form method=\"POST\" enctype=\"multipart/form-data\" style='width: 425px; margin: 0 auto;' action=\"user.php?action=editprefs\"> |
|
| 48 |
+ $output .= "<form method=\"POST\" enctype=\"multipart/form-data\" style='width: 425px; margin: 0 auto;' action=\"member.php?action=editprefs\"> |
|
| 49 | 49 |
<label for='newreviews'>"._CONTACTREVIEWS.":</label> <INPUT name=\"newreviews\" type=\"checkbox\" class=\"checkbox\"".($user['newreviews'] ? " checked" : "")."> <A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_NEWREV."</span></A><br /> |
| 50 | 50 |
<label for='newrespond'>"._CONTACTRESPOND.":</label> <INPUT name=\"newrespond\" type=\"checkbox\" class=\"checkbox\"".($user['newrespond'] ? " checked" : "")."><A HREF=\"#\" class=\"pophelp\">[?]<span>"._HELP_NEWRESP."</span></A><br />"; |
| 51 | 51 |
if($alertson) |
| ... | ... |
@@ -93,7 +93,7 @@ if(empty($favorites)) accessDenied( ); |
| 93 | 93 |
} |
| 94 | 94 |
} |
| 95 | 95 |
$author = implode(",", $author);
|
| 96 |
- $output .= "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"user.php?action=favau&".( $add ? "add=$author" : "edit=$edit")."\">\n |
|
| 96 |
+ $output .= "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"member.php?action=favau&".( $add ? "add=$author" : "edit=$edit")."\">\n |
|
| 97 | 97 |
<div style=\"width: 350px; margin: 0 auto; text-align: left;\"><label for=\"comments\">"._COMMENTS.":</label><br /> |
| 98 | 98 |
<textarea class=\"textbox\" name=\"comments\" id=\"comments\" cols=\"40\" rows=\"5\">".(isset($info['comments']) ? $info['comments'] : "")."</textarea><br /> |
| 99 | 99 |
<INPUT type=\"submit\" class=\"button\" name=\"submit\" value=\""._SUBMIT."\"></div></form>"; |
| ... | ... |
@@ -114,7 +114,7 @@ if(empty($favorites)) accessDenied( ); |
| 114 | 114 |
$cmt->newBlock("comment");
|
| 115 | 115 |
$cmt->assign("comment", format_story($author['comments']));
|
| 116 | 116 |
if(USERUID == $uid) |
| 117 |
- $cmt->assign("commentoptions", "<div class='adminoptions'><span class='label'>"._OPTIONS.":</span> <a href=\"user.php?action=favau&edit=".$author['uid']."\">"._EDIT."</a> | <a href=\"user.php?action=favau&delete=".$author['uid']."\">"._REMOVEFAV."</a></div>");
|
|
| 117 |
+ $cmt->assign("commentoptions", "<div class='adminoptions'><span class='label'>"._OPTIONS.":</span> <a href=\"member.php?action=favau&edit=".$author['uid']."\">"._EDIT."</a> | <a href=\"member.php?action=favau&delete=".$author['uid']."\">"._REMOVEFAV."</a></div>");
|
|
| 118 | 118 |
$cmt->assign("oddeven", ($x % 2 ? "odd" : "even"));
|
| 119 | 119 |
$output .= $cmt->getOutputContent( ); |
| 120 | 120 |
$x++; |
| ... | ... |
@@ -70,7 +70,7 @@ if(empty($favorites)) accessDenied( ); |
| 70 | 70 |
$query = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_favorites WHERE uid = '".USERUID."' AND type = 'SE' AND item = '$edit' LIMIT 1");
|
| 71 | 71 |
$info = dbassoc($query); |
| 72 | 72 |
} |
| 73 |
- $tpl->assign("pagelinks", "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"user.php?action=favse&add=1&seriesid=".($add ? $add : $edit)."\">\n
|
|
| 73 |
+ $tpl->assign("pagelinks", "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"member.php?action=favse&add=1&seriesid=".($add ? $add : $edit)."\">\n
|
|
| 74 | 74 |
<div style=\"width: 350px; margin: 0 auto; text-align: left;\"><label for=\"comments\">"._COMMENTS.":</label><br /> |
| 75 | 75 |
<textarea class=\"textbox\" name=\"comments\" id=\"comments\" cols=\"40\" rows=\"5\">".(isset($info['comments']) ? $info['comments'] : "")."</textarea><br /> |
| 76 | 76 |
<INPUT type=\"submit\" class=\"button\" name=\"submit\" value=\""._SUBMIT."\"></div></form>"); |
| ... | ... |
@@ -93,7 +93,7 @@ if(empty($favorites)) accessDenied( ); |
| 93 | 93 |
$cmt->newBlock("comment");
|
| 94 | 94 |
$cmt->assign("comment", $stories['comments'] ? "<div class='comments'><span class='label'>"._COMMENTS.": </span>".strip_tags($stories['comments'])."</div>" : "");
|
| 95 | 95 |
if(USERUID == $uid) |
| 96 |
- $cmt->assign("commentoptions", "<div class='adminoptions'><span class='label'>"._OPTIONS.":</span> <a href=\"user.php?action=favse&edit=".$stories['seriesid']."\">"._EDIT."</a> | <a href=\"user.php?action=favse&delete=".$stories['seriesid']."\">"._REMOVEFAV."</a></div>");
|
|
| 96 |
+ $cmt->assign("commentoptions", "<div class='adminoptions'><span class='label'>"._OPTIONS.":</span> <a href=\"member.php?action=favse&edit=".$stories['seriesid']."\">"._EDIT."</a> | <a href=\"member.php?action=favse&delete=".$stories['seriesid']."\">"._REMOVEFAV."</a></div>");
|
|
| 97 | 97 |
$cmt->assign("oddeven", ($count % 2 ? "odd" : "even"));
|
| 98 | 98 |
$tpl->assign("comment", $cmt->getOutputContent( ));
|
| 99 | 99 |
$count++; |
| ... | ... |
@@ -73,7 +73,7 @@ if(empty($favorites)) accessDenied( ); |
| 73 | 73 |
$tpl->newBlock("storyblock");
|
| 74 | 74 |
include("includes/storyblock.php");
|
| 75 | 75 |
$tpl->gotoBlock("listings");
|
| 76 |
- $tpl->assign("pagelinks", "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"user.php?action=favst&".($edit? "edit=$edit" : "add=1")."&sid=".(isset($sid) ? $sid : $edit)."\">\n
|
|
| 76 |
+ $tpl->assign("pagelinks", "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"member.php?action=favst&".($edit? "edit=$edit" : "add=1")."&sid=".(isset($sid) ? $sid : $edit)."\">\n
|
|
| 77 | 77 |
<div style=\"width: 350px; margin: 0 auto; text-align: left;\"><label for=\"comments\">"._COMMENTS.":</label><br /> |
| 78 | 78 |
<textarea class=\"textbox\" name=\"comments\" id=\"comments\" cols=\"40\" rows=\"5\">".(isset($info['comments']) ? $info['comments'] : "")."</textarea><br /> |
| 79 | 79 |
<INPUT type=\"submit\" class=\"button\" name=\"submit\" value=\""._SUBMIT."\"></div></form>"); |
| ... | ... |
@@ -98,7 +98,7 @@ if(empty($favorites)) accessDenied( ); |
| 98 | 98 |
$cmt->newBlock("comment");
|
| 99 | 99 |
$cmt->assign("comment", $stories['comments'] ? "<div class='comments'><span class='label'>"._COMMENTS.": </span>".strip_tags($stories['comments'])."</div>" : "");
|
| 100 | 100 |
if(USERUID == $uid) |
| 101 |
- $cmt->assign("commentoptions", "<div class='adminoptions'><span class='label'>"._OPTIONS.":</span> <a href=\"user.php?action=favst&edit=".$stories['sid']."\">"._EDIT."</a> | <a href=\"user.php?action=favst&delete=".$stories['sid']."\">"._REMOVEFAV."</a></div>");
|
|
| 101 |
+ $cmt->assign("commentoptions", "<div class='adminoptions'><span class='label'>"._OPTIONS.":</span> <a href=\"member.php?action=favst&edit=".$stories['sid']."\">"._EDIT."</a> | <a href=\"member.php?action=favst&delete=".$stories['sid']."\">"._REMOVEFAV."</a></div>");
|
|
| 102 | 102 |
$cmt->assign("oddeven", ($count % 2 ? "odd" : "even"));
|
| 103 | 103 |
$tpl->assign("comment", $cmt->getOutputContent( ));
|
| 104 | 104 |
$tpl->gotoBlock( "listings" ); |
| ... | ... |
@@ -95,7 +95,7 @@ |
| 95 | 95 |
} |
| 96 | 96 |
else if(!isMEMBER) {
|
| 97 | 97 |
$output .= "<div id=\"pagetitle\">"._MEMBERLOGIN."</div>"; |
| 98 |
- $output .= "<div style=\"width: 250px; margin: 0 auto; text-align: center;\"><form method=\"POST\" enctype=\"multipart/form-data\" action=\"user.php?action=login".(isset($_GET['sid']) && isNumber($_GET['sid']) ? "&sid=".$_GET['sid'] : "")."\"> |
|
| 98 |
+ $output .= "<div style=\"width: 250px; margin: 0 auto; text-align: center;\"><form method=\"POST\" enctype=\"multipart/form-data\" action=\"member.php?action=login".(isset($_GET['sid']) && isNumber($_GET['sid']) ? "&sid=".$_GET['sid'] : "")."\"> |
|
| 99 | 99 |
<div class=\"label\" style=\"float: left; width: 30%; text-align: right;\"><label for=\"penname\">"._PENNAME.":</label></div><INPUT type=\"text\" class=\"textbox\" name=\"penname\" id=\"penname\"><br /> |
| 100 | 100 |
<div class=\"label\" style=\"float: left; width: 30%; text-align: right;\"><label for=\"pswd\">"._PASSWORD.":</label></div><INPUT type=\"password\" class=\"textbox\" id=\"pswd\" name=\"password\"><br /> |
| 101 | 101 |
<INPUT type=\"checkbox\" class=\"checkbox\" name=\"cookiecheck\" id=\"cookiecheck\" value=\"1\"><label for=\"cookiecheck\">"._REMEMBERME."</label><br /> |
| ... | ... |
@@ -73,7 +73,7 @@ if(isMEMBER) accessDenied( ); |
| 73 | 73 |
else $output .= write_message(_BADEMAIL); |
| 74 | 74 |
} |
| 75 | 75 |
else {
|
| 76 |
- $output .= "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"user.php?action=lostpassword\"> |
|
| 76 |
+ $output .= "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"member.php?action=lostpassword\"> |
|
| 77 | 77 |
<table align=\"center\" width=\"300\"> |
| 78 | 78 |
<tr><td>"._ENTEREMAIL."</td></tr> |
| 79 | 79 |
<tr><td><INPUT type=\"text\" class=\"textbox=\" name=\"email\"> <INPUT type=\"submit\" class=\"button\" name=\"submit\" value=\""._SUBMIT."\"></form> |
| ... | ... |
@@ -166,7 +166,7 @@ if($imageupload) {
|
| 166 | 166 |
buildImageList( ); |
| 167 | 167 |
} |
| 168 | 168 |
if(isset($_GET['upload']) && !isset($_POST['submit'])) {
|
| 169 |
- $output .= "<form method=\"post\" action=\"user.php?action=manageimages&upload=upload\" ENCTYPE=\"multipart/form-data\"> |
|
| 169 |
+ $output .= "<form method=\"post\" action=\"member.php?action=manageimages&upload=upload\" ENCTYPE=\"multipart/form-data\"> |
|
| 170 | 170 |
<input type=\"hidden\" name=\"MAX_FILE_SIZE\" value=\"$max_size\">"; |
| 171 | 171 |
for($x = 1; $x < 6; $x++) {
|
| 172 | 172 |
$output .= "<div style='width: 300px; margin: 0 auto;'><label for='upfile$x'>"._IMAGE." $x:</label><input id=\"upfile$x\" type=\"file\" class=\"textbox\" name=\"upfile[]\"></div>"; |
| ... | ... |
@@ -206,12 +206,12 @@ if($imageupload) {
|
| 206 | 206 |
while($filename = readdir($directory)) {
|
| 207 | 207 |
if($filename=="." || $filename==".." || $filename == "imagelist.js") continue; |
| 208 | 208 |
list($imght, $imgwth, $type, $attr) = getimagesize("$folder/$filename");
|
| 209 |
- $output .= "<tr><td class='tblborder'>$filename</td><td class='tblborder'><img src=\"$folder/$filename\"></td><td class='tblborder' style='text-align: center;'><a href=\"javascript:pop('$folder/$filename', $imgwth, $imght, 'yes')\">"._VIEW."</a> | <a href=\"user.php?action=manageimages&delete=$filename\" onclick=\"return confirm('"._CONFIRMDELETE."')\">"._DELETE."</a></td></tr>";
|
|
| 209 |
+ $output .= "<tr><td class='tblborder'>$filename</td><td class='tblborder'><img src=\"$folder/$filename\"></td><td class='tblborder' style='text-align: center;'><a href=\"javascript:pop('$folder/$filename', $imgwth, $imght, 'yes')\">"._VIEW."</a> | <a href=\"member.php?action=manageimages&delete=$filename\" onclick=\"return confirm('"._CONFIRMDELETE."')\">"._DELETE."</a></td></tr>";
|
|
| 210 | 210 |
$count++; |
| 211 | 211 |
} |
| 212 | 212 |
if($count == 0) $output .= "<tr><td colspan='3' style='text-align: center;'>"._NORESULTS."</td></tr>"; |
| 213 | 213 |
$output .= "</table></div>"; |
| 214 |
- $output .= write_message("<a href=\"user.php?action=manageimages&upload=upload\">"._UPLOADIMAGE."</a>");
|
|
| 214 |
+ $output .= write_message("<a href=\"member.php?action=manageimages&upload=upload\">"._UPLOADIMAGE."</a>");
|
|
| 215 | 215 |
|
| 216 | 216 |
} |
| 217 | 217 |
} |
| ... | ... |
@@ -45,7 +45,7 @@ else {
|
| 45 | 45 |
$itemcount = 0; |
| 46 | 46 |
$countquery = dbquery("SELECT COUNT(item) FROM ".TABLEPREFIX."fanfiction_favorites WHERE uid = '$uid' AND type = '$type'");
|
| 47 | 47 |
list($itemcount) = dbrow($countquery); |
| 48 |
- if(empty($panel['panel_url'])) $output .= "<a href=\"user.php?action=".$panel['panel_name']."\">".$panel['panel_title']." [$itemcount]</a><br />\n"; |
|
| 48 |
+ if(empty($panel['panel_url'])) $output .= "<a href=\"member.php?action=".$panel['panel_name']."\">".$panel['panel_title']." [$itemcount]</a><br />\n"; |
|
| 49 | 49 |
else $output .= "<a href=\"".$panel['panel_url']."\">".$panel['panel_title']." [$itemcount]</a><br />\n"; |
| 50 | 50 |
} |
| 51 | 51 |
} |
| ... | ... |
@@ -33,7 +33,7 @@ if($userinfo['email']) |
| 33 | 33 |
$nameinfo .= " [<a href=\"viewuser.php?action=contact&uid=".$userinfo['uid']."\">"._CONTACT."</a>]"; |
| 34 | 34 |
if(!empty($favorites) && isMEMBER && $userinfo['uid'] != USERUID) {
|
| 35 | 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?action=favau&uid=".USERUID."&add=".$userinfo['uid']."\">"._ADDAUTHOR2FAVES."</a>]"; |
|
| 36 |
+ if(dbnumrows($fav) == 0) $nameinfo .= " [<a href=\"member.php?action=favau&uid=".USERUID."&add=".$userinfo['uid']."\">"._ADDAUTHOR2FAVES."</a>]"; |
|
| 37 | 37 |
} |
| 38 | 38 |
$tpl->assign("userpenname", $userinfo['penname']." ".$nameinfo);
|
| 39 | 39 |
$tpl->assign("membersince", date("$dateformat", $userinfo['date']));
|
| ... | ... |
@@ -81,7 +81,7 @@ if(!empty($dynamicfields)) $tpl->assign("authorfields", $dynamicfields);
|
| 81 | 81 |
$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&url=viewuser.php?uid=".$uid."\">"._REPORTTHIS."</a>]");
|
| 82 | 82 |
$adminopts = ""; |
| 83 | 83 |
if(isADMIN && uLEVEL < 3) {
|
| 84 |
- $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>]"; |
|
| 84 |
+ $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=\"member.php?action=editbio&uid=$uid\" class=\"vuadmin\">"._EDIT."</a>] [<a href=\"admin.php?action=members&delete=$uid\" class=\"vuadmin\">"._DELETE."</a>]"; |
|
| 85 | 85 |
$adminopts .= " [<a href=\"admin.php?action=members&".($userinfo['level'] < 0 ? "unlock=".$userinfo['uid']."\" class=\"vuadmin\">"._UNLOCKMEM : "lock=".$userinfo['uid']."\" class=\"vuadmin\">"._LOCKMEM)."</a>]"; |
| 86 | 86 |
$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>"; |
| 87 | 87 |
$tpl->assign("adminoptions", $adminopts);
|
| ... | ... |
@@ -84,7 +84,7 @@ if($reviewcount) {
|
| 84 | 84 |
$reviewer = $reviews['reviewer']; |
| 85 | 85 |
$member = _ANONYMOUS; |
| 86 | 86 |
} |
| 87 |
- if(!empty($authoruid) && USERUID == $authoruid) $adminlink .= " [<a href=\"user.php?action=revres&reviewid=".$reviews['reviewid']."\">"._RESPOND."</a>]"; |
|
| 87 |
+ if(!empty($authoruid) && USERUID == $authoruid) $adminlink .= " [<a href=\"member.php?action=revres&reviewid=".$reviews['reviewid']."\">"._RESPOND."</a>]"; |
|
| 88 | 88 |
$revlist->newBlock("reviewsblock");
|
| 89 | 89 |
$revlist->assign("reviewer" , $reviewer );
|
| 90 | 90 |
$revlist->assign("review" , $reviews['review']);
|
| ... | ... |
@@ -113,7 +113,7 @@ if(!defined("_CHARSET")) exit( );
|
| 113 | 113 |
$revlist->assign("member", $member );
|
| 114 | 114 |
$revlist->assign("oddeven", "odd");
|
| 115 | 115 |
$output .= $revlist->getOutputContent( ); |
| 116 |
- $output .= "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"user.php?action=revres\">"; |
|
| 116 |
+ $output .= "<form method=\"POST\" enctype=\"multipart/form-data\" action=\"member.php?action=revres\">"; |
|
| 117 | 117 |
$output .= "<INPUT type=\"hidden\" name=\"rid\" value=\"$reviewid\"> |
| 118 | 118 |
<div style=\"text-align: center;\"><label for=\"response\">"._AUTHORSRESPONSE.":</label><span style='clear: left;'> </span></div> |
| 119 | 119 |
<div class='shorttextarea'><textarea class=\"textbox\" name=\"response\" id=\"response\" style='width: 100%;' rows=\"5\"></TEXTAREA></div>"; |
| ... | ... |
@@ -70,7 +70,7 @@ $authorof[] = "<a href='".$thislink."action=stats&stat=series'>$seriescount |
| 70 | 70 |
if($stat == "series" && dbnumrows($seriesquery)) {
|
| 71 | 71 |
$output .= "<center><h4>"._SERIES."</h4></center><table class=\"tblborder\" width=\"90%\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><th>"._TITLE."</th>".($reviewsallowed ? "<th>"._REVIEWS."</th>" : "").($favorites ? "<th>"._FAVORITE."</th>" : "")."</tr>"; |
| 72 | 72 |
while($series = dbassoc($seriesquery)) {
|
| 73 |
- $output .= "<tr><td class=\"tblborder\"><a href=\"series.php?seriesid=$series[seriesid]\">".stripslashes($series['title'])."</a> ".ratingpics($series['rating'])."</td>".($reviewsallowed ? "<td class=\"tblborder\" align=\"center\"><a href=\"reviews.php?type=SE&item=$series[seriesid]\">$series[reviews]</a></td>" : "").($favorites ? "<td class=\"tblborder\" align=\"center\">".($series['count'] ? "<a href=\"user.php?action=stats&favseries=$series[seriesid]\">$series[count]</a>" : "0")."</td>" : "")."</td></tr>"; |
|
| 73 |
+ $output .= "<tr><td class=\"tblborder\"><a href=\"series.php?seriesid=$series[seriesid]\">".stripslashes($series['title'])."</a> ".ratingpics($series['rating'])."</td>".($reviewsallowed ? "<td class=\"tblborder\" align=\"center\"><a href=\"reviews.php?type=SE&item=$series[seriesid]\">$series[reviews]</a></td>" : "").($favorites ? "<td class=\"tblborder\" align=\"center\">".($series['count'] ? "<a href=\"member.php?action=stats&favseries=$series[seriesid]\">$series[count]</a>" : "0")."</td>" : "")."</td></tr>"; |
|
| 74 | 74 |
$serieslist[] = $series['seriesid']; |
| 75 | 75 |
} |
| 76 | 76 |
$output .= "</table>"; |
| ... | ... |
@@ -82,11 +82,11 @@ if($reviewsallowed && (isMEMBER || $anonreviews)) {
|
| 82 | 82 |
$jumpmenu .= "<option value=\"reviews.php?action=add&type=SE&item=$seriesid\">"._SUBMITREVIEW."</option>"; |
| 83 | 83 |
} |
| 84 | 84 |
if(isMEMBER && $favorites) {
|
| 85 |
- $addtofaves = "[<a href=\"user.php?action=favse&uid=".USERUID."&add=$seriesid\">"._ADDSERIES2FAVES."</a>]"; |
|
| 86 |
- $jumpmenu .= "<option value=\"user.php?action=favse&uid=".USERUID."&add=$seriesid\">"._ADDSERIES2FAVES."</option>"; |
|
| 85 |
+ $addtofaves = "[<a href=\"member.php?action=favse&uid=".USERUID."&add=$seriesid\">"._ADDSERIES2FAVES."</a>]"; |
|
| 86 |
+ $jumpmenu .= "<option value=\"member.php?action=favse&uid=".USERUID."&add=$seriesid\">"._ADDSERIES2FAVES."</option>"; |
|
| 87 | 87 |
if($series['isopen'] == 0) { // Only closed series.
|
| 88 |
- $addtofaves .= " [<a href=\"user.php?action=favau&uid=".USERUID."&add=".$series['uid']."\">"._ADDAUTHOR2FAVES."</a>]"; |
|
| 89 |
- $jumpmenu .= "<option value=\"user.php?action=favau&uid=".USERUID."&add=".$series['uid']."\">"._ADDAUTHOR2FAVES."</option>"; |
|
| 88 |
+ $addtofaves .= " [<a href=\"member.php?action=favau&uid=".USERUID."&add=".$series['uid']."\">"._ADDAUTHOR2FAVES."</a>]"; |
|
| 89 |
+ $jumpmenu .= "<option value=\"member.php?action=favau&uid=".USERUID."&add=".$series['uid']."\">"._ADDAUTHOR2FAVES."</option>"; |
|
| 90 | 90 |
} |
| 91 | 91 |
} |
| 92 | 92 |
if($series['isopen'] && isMEMBER) {
|
| ... | ... |
@@ -315,7 +315,7 @@ else {
|
| 315 | 315 |
if(isADMIN && uLEVEL < 3) |
| 316 | 316 |
$adminlinks = "<div class=\"adminoptions\"><span class='label'>"._ADMINOPTIONS.":</span> "._EDIT." - <a href=\"stories.php?action=editstory&sid=$sid&admin=1\">"._STORY."</a> "._OR." <a href=\"stories.php?action=editchapter&chapid=$chapid&admin=1\">"._CHAPTER."</a> | "._DELETE." - <a href=\"stories.php?action=delete&sid=$sid&admin=1\">"._STORY."</a> "._OR." <a href=\"stories.php?action=delete&chapid=$chapid&sid=$sid&admin=1\">"._CHAPTER."</a></div>"; |
| 317 | 317 |
if(isMEMBER && $favorites) {
|
| 318 |
- $jumpmenu2 .= "<option value=\"user.php?action=favst&add=1&sid=$sid\">"._ADDSTORY2FAVES."</option><option value=\"user.php?action=favau&add=1&author=".$stories['uid'].(count($storyinfo['coauthors']) ? ",".implode(",", array_keys($storyinfo['coauthors'])) : "")."\">"._ADDAUTHOR2FAVES."</option>";
|
|
| 318 |
+ $jumpmenu2 .= "<option value=\"member.php?action=favst&add=1&sid=$sid\">"._ADDSTORY2FAVES."</option><option value=\"member.php?action=favau&add=1&author=".$stories['uid'].(count($storyinfo['coauthors']) ? ",".implode(",", array_keys($storyinfo['coauthors'])) : "")."\">"._ADDAUTHOR2FAVES."</option>";
|
|
| 319 | 319 |
} |
| 320 | 320 |
if($reviewsallowed ) {
|
| 321 | 321 |
if(isMEMBER || $anonreviews) {
|
| ... | ... |
@@ -46,7 +46,7 @@ if($displayprofile) include("user/profile.php");
|
| 46 | 46 |
else if(isADMIN && uLEVEL < 3) {
|
| 47 | 47 |
$result2 = dbquery("SELECT * FROM "._AUTHORTABLE." LEFT JOIN ".TABLEPREFIX."fanfiction_authorprefs as ap ON ap.uid = "._UIDFIELD." WHERE "._UIDFIELD." = '$uid' LIMIT 1");
|
| 48 | 48 |
$userinfo = dbassoc($result2); |
| 49 |
- $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>]"; |
|
| 49 |
+ $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=\"member.php?action=editbio&uid=$uid\" class=\"vuadmin\">"._EDIT."</a>] [<a href=\"admin.php?action=members&delete=$uid\" class=\"vuadmin\">"._DELETE."</a>]"; |
|
| 50 | 50 |
$adminopts .= " [<a href=\"admin.php?action=members&".($userinfo['level'] < 0 ? "unlock=".$userinfo['uid']."\" class=\"vuadmin\">"._UNLOCKMEM : "lock=".$userinfo['uid']."\" class=\"vuadmin\">"._LOCKMEM)."</a>]"; |
| 51 | 51 |
$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>"; |
| 52 | 52 |
$tpl->assign("adminoptions", $adminopts);
|