Browse code

conflict file names fix

Jimako authored on 2023/09/07 15:38:37
Showing 17 changed files
... ...
@@ -97,7 +97,7 @@ else
97 97
 		$news->assign("newsdate", date("$dateformat $timeformat", $stories['date']));
98 98
 		$news->assign("oddeven", ($count % 2 ? "even" : "odd"));
99 99
 		if ($newscomments == "1")
100
-			$news->assign("newscomments", "<a href=\"news.php?action=newsstory&amp;nid=" . $stories['nid'] . "\">" . $stories['comments'] . " " . _COMMENTS . "</a>");
100
+			$news->assign("newscomments", "<a href=\"ffnews.php?action=newsstory&amp;nid=" . $stories['nid'] . "\">" . $stories['comments'] . " " . _COMMENTS . "</a>");
101 101
 		if (isADMIN)
102 102
 			$news->assign("adminoptions", "<a href=\"admin.php?action=news&amp;form=" . $stories['nid'] . "\">" . _EDIT . "</a> | <a href=\"admin.php?action=news&amp;delete=" . $stories['nid'] . "\">" . _DELETE . "</a>");
103 103
 		$count++;
... ...
@@ -1,6 +1,6 @@
1 1
 <?php
2 2
 if(!defined("_CHARSET")) exit( );
3
-	$content = "<form method=\"POST\" id=\"searchblock\" enctype=\"multipart/form-data\" action=\""._BASEDIR."search.php?action=advanced\">
3
+	$content = "<form method=\"POST\" id=\"searchblock\" enctype=\"multipart/form-data\" action=\""._BASEDIR."searching.php?action=advanced\">
4 4
 			<INPUT type=\"text\" class=\"textbox\" name=\"searchterm\" id=\"searchterm\" size=\"15\"> 
5 5
 			<INPUT type=\"hidden\" name=\"searchtype\" value=\"advanced\">
6 6
 			<INPUT type=\"submit\" class=\"button\" name=\"submit\" value=\""._SEARCH."\"></form>";
... ...
@@ -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!&nbsp; 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.&nbsp; 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>.&nbsp; 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!&nbsp; 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.&nbsp; 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="report.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>.&nbsp; 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.&nbsp; 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.&nbsp; \r\n        The author is in no way associated with the owners, creators, or producers of any media franchise.&nbsp;  No copyright infringement is intended.</div>\r\n  </div>\r\n  </li>\r\n  <li>Stories must be submitted to the proper category. &nbsp;If there is an appropriate sub-category, <strong>DO NOT</strong> add your story to the main category.&nbsp; 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.&nbsp;&nbsp; <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.&nbsp; No exceptions.&nbsp; </li>\r\n  <li>&quot;Please read&quot;, &quot;Untitled&quot;, 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.&nbsp; 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.&nbsp; </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.&nbsp; The site administrators are not grammar Nazis.&nbsp; 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.&nbsp; 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.&nbsp; \r\n  All adult rated stories are expected to have warnings.&nbsp; After all, they \r\n  wouldn''t have that rating if there wasn''t something to be warned about!&nbsp; 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.&nbsp;\r\n  <u><strong>Please note: Stories containing adults having sex with minors are strictly forbidden.</strong></u>&nbsp; </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.&nbsp; 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.&nbsp; The site administrators reserve the right to modify these \r\n  rules as needed.</p>'),
... ...
@@ -8,11 +8,11 @@ INSERT INTO `test3fanfiction_pagelinks` (`link_id`, `link_name`, `link_text`, `l
8 8
 (8, 'members', 'Members', 'authors.php?action=list', '0', 0),
9 9
 (9, 'authors', 'Authors', 'authors.php?list=authors', '0', 0),
10 10
 (10, 'help', 'Help', 'viewpage.php?page=help', '0', 0),
11
-(11, 'search', 'Search', 'search.php', '0', 0),
11
+(11, 'search', 'Search', 'searching.php', '0', 0),
12 12
 (12, 'series', 'Series', 'browse.php?type=series', '0', 0),
13 13
 (13, 'tens', 'Top Tens', 'toplists.php', '0', 0),
14 14
 (14, 'challenges', 'Challenges', 'browse.php?type=challenges', '0', 0),
15
-(15, 'contactus', 'Contact Us', 'contact.php', '0', 0),
15
+(15, 'contactus', 'Contact Us', 'report.php', '0', 0),
16 16
 (16, 'rules', 'Rules', 'viewpage.php?page=rules', '0', 0),
17 17
 (17, 'tos', 'Terms of Service', 'viewpage.php?page=tos', '0', 0),
18 18
 (18, 'rss', '<img src=''images/xml.gif'' alt=''RSS'' border=''0''>', 'rss.php', '0', 0),
... ...
@@ -20,7 +20,7 @@ INSERT INTO `test3fanfiction_pagelinks` (`link_id`, `link_name`, `link_text`, `l
20 20
 (20, 'titles', 'Titles', 'browse.php?type=titles', '0', 0),
21 21
 (21, 'register', 'Register', 'author.php?action=register', '0', 0),
22 22
 (22, 'lostpassword', 'Lost Password', 'author.php?action=lostpassword', '0', 0),
23
-(23, 'newsarchive', 'News Archive', 'news.php', '0', 0),
23
+(23, 'newsarchive', 'News Archive', 'ffnews.php', '0', 0),
24 24
 (24, 'browse', 'Browse', 'browse.php', '0', 0),
25 25
 (25, 'charslink', 'Characters', 'browse.php?type=characters', '0', 0),
26 26
 (26, 'ratings', 'Ratings', 'browse.php?type=ratings', '0', 0);
... ...
@@ -523,7 +523,7 @@ function charlist($characters) {
523 523
 }
524 524
 
525 525
 // Most of the pages that list stories and series use this fuction.  This handles showing the series and stories and pagination of the two together when needed
526
-function search($storyquery, $countquery, $pagelink = "search.php?", $pagetitle = 0) {
526
+function search($storyquery, $countquery, $pagelink = "searching.php?", $pagetitle = 0) {
527 527
 	global $tpl, $new, $ratingslist, $itemsperpage, $reviewsallowed, $output, $dateformat, $current, $featured, $favorites, $retired, $ageconsent, $classtypelist, $classlist, $offset, $recentdays;
528 528
      
529 529
 	$count = dbquery($countquery);
... ...
@@ -83,6 +83,6 @@ if(!defined("_CHARSET")) exit( );
83 83
 		$tpl->assign("adminoptions", "<div class=\"adminoptions\"><span class='label'>"._ADMINOPTIONS.":</span> [<a href=\""._BASEDIR."series.php?action=add&amp;add=stories&amp;seriesid=".$stories['seriesid']."\">"._ADD2SERIES."</a>] [<a href=\""._BASEDIR."series.php?action=edit&amp;seriesid=".$stories['seriesid']."\">"._EDIT."</a>] [<a href=\""._BASEDIR."series.php?action=delete&amp;seriesid=".$stories['seriesid']."\">"._DELETE."</a>]".(!empty($adminlinks) ? " ".$adminlinks : "")."</div>");
84 84
 	}
85 85
 	else if($stories['isopen'] == 2 && USERUID) $tpl->assign("adminoptions", "[<a href=\""._BASEDIR."series.php?action=add&amp;add=stories&amp;seriesid=".$stories['seriesid']."\">"._ADD2SERIES."</a>] ".(!empty($adminlinks) ? " ".$adminlinks : ""));
86
-	$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&amp;url=series.php?seriesid=".$stories['seriesid']."\">"._REPORTTHIS."</a>]");
86
+	$tpl->assign("reportthis", "[<a href=\""._BASEDIR."report.php?action=report&amp;url=series.php?seriesid=".$stories['seriesid']."\">"._REPORTTHIS."</a>]");
87 87
 	$count++;
88 88
 ?>
89 89
\ No newline at end of file
... ...
@@ -116,7 +116,7 @@ if(!defined("_CHARSET")) exit( );
116 116
 	else if(isADMIN && uLEVEL < 4) $adminlinks .= " [<a href=\""._BASEDIR."admin.php?action=featured&amp;feature=".$stories['sid']."\">"._FEATURED."</a>]";
117 117
 	$tpl->assign("toc", "<a href=\""._BASEDIR."viewstory.php?sid=".$stories['sid']."&amp;index=1\">"._TOC."</a>");
118 118
 	$tpl->assign("oddeven", ($count % 2 ? "odd" : "even"));
119
-	$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&amp;url=viewstory.php?sid=".$stories['sid']."\">"._REPORTTHIS."</a>]");
119
+	$tpl->assign("reportthis", "[<a href=\""._BASEDIR."report.php?action=report&amp;url=viewstory.php?sid=".$stories['sid']."\">"._REPORTTHIS."</a>]");
120 120
 	if(isADMIN && uLEVEL < 4) $tpl->assign("adminlinks", "<div class=\"adminoptions\"><span class='label'>"._ADMINOPTIONS.":</span> ".$adminlinks."</div>");
121 121
 	else if(isMEMBER && (USERUID == $stories['uid'] || array_key_exists(USERUID, $stories['coauthors']))) $tpl->assign("adminlinks", "<div class=\"adminoptions\"><span class='label'>"._OPTIONS.":</span> ".$adminlinks."</div>");
122 122
 	$count++;
... ...
@@ -255,7 +255,7 @@ switch ($_GET['step'])
255 255
 				$output .= "<tr><td>Welcome</td><td align='center'>" . ($msg ? "<img src=\"../images/check.gif\">" : "<img src=\"../images/X.gif\">") . "</td></tr>";
256 256
 				$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');");
257 257
 				$output .= "<tr><td>Copyright</td><td align='center'>" . ($msg ? "<img src=\"../images/check.gif\">" : "<img src=\"../images/X.gif\">") . "</td></tr>";
258
-				$msg = dbquery("INSERT INTO `" . $tableprefix . "fanfiction_messages` VALUES (3, 'help', 'Help', '<h3>FAQ</h3><p><strong>I forgot my password!&nbsp; 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.&nbsp; 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>.&nbsp; 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>');");
258
+				$msg = dbquery("INSERT INTO `" . $tableprefix . "fanfiction_messages` VALUES (3, 'help', 'Help', '<h3>FAQ</h3><p><strong>I forgot my password!&nbsp; 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.&nbsp; 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=\"report.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>.&nbsp; 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>');");
259 259
 				$output .= "<tr><td>Help</td><td align='center'>" . ($msg ? "<img src=\"../images/check.gif\">" : "<img src=\"../images/X.gif\">") . "</td></tr>";
260 260
 				$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}');");
261 261
 				$output .= "<tr><td>Rejection Letter</td><td align='center'>" . ($msg ? "<img src=\"../images/check.gif\">" : "<img src=\"../images/X.gif\">") . "</td></tr>";
... ...
@@ -324,25 +324,25 @@ switch ($_GET['step'])
324 324
 					array("recent", "Most Recent", "browse.php?type=recent", "0", "0"),
325 325
 					array("login", "Login", "user.php?action=login", "0", "0"),
326 326
 					array("adminarea", "Admin", "admin.php", "0", "2"),
327
-					array("logout", "Logout", "user.php?action=logout", "0", "1"),
327
+					array("logout", "Logout", "author.php?action=logout", "0", "1"),
328 328
 					array("featured", "Featured Stories", "browse.php?type=featured", "0", "0"),
329 329
 					array("catslink", "Categories", "browse.php?type=categories", "0", "0"),
330 330
 					array("members", "Members", "authors.php?action=list", "0", "0"),
331 331
 					array("authors", "Authors", "authors.php?list=authors", "0", "0"),
332 332
 					array("help", "Help", "viewpage.php?page=help", "0", "0"),
333
-					array("search", "Search", "search.php", "0", "0"),
333
+					array("search", "Search", "searching.php", "0", "0"),
334 334
 					array("series", "Series", "browse.php?type=series", "0", "0"),
335 335
 					array("tens", "Top Tens", "toplists.php", "0", "0"),
336 336
 					array("challenges", "Challenges", "modules/challenges/challenges.php", "0", "0"),
337
-					array("contactus", "Contact Us", "contact.php", "0", "0"),
337
+					array("contactus", "Contact Us", "report.php", "0", "0"),
338 338
 					array("rules", "Rules", "viewpage.php?page=rules", "0", "0"),
339 339
 					array("tos", "Terms of Service", "viewpage.php?page=tos", "0", "0"),
340 340
 					array("rss", "<img src=\'images/xml.gif\' alt=\'RSS\' border=\'0\'>", "rss.php", "0", "0"),
341
-					array("login", "Account Info", "user.php", "0", "1"),
341
+					array("login", "Account Info", "author.php", "0", "1"),
342 342
 					array("titles", "Titles", "browse.php?type=titles", "0", "0"),
343
-					array("register", "Register", "user.php?action=register", "0", "0"),
344
-					array("lostpassword", "Lost Password", "user.php?action=lostpassword", "0", "0"),
345
-					array("newsarchive", "News Archive", "news.php", "0", "0"),
343
+					array("register", "Register", "author.php?action=register", "0", "0"),
344
+					array("lostpassword", "Lost Password", "author.php?action=lostpassword", "0", "0"),
345
+					array("newsarchive", "News Archive", "ffnews.php", "0", "0"),
346 346
 					array("browse", "Browse", "browse.php", "0", "0"),
347 347
 					array("charslink", "Characters", "browse.php?type=characters", "0", "0"),
348 348
 					array("ratings", "Ratings", "browse.php?type=ratings", "0", "0"),
... ...
@@ -55,7 +55,7 @@ define ("_DOWN", "down arrow");
55 55
 define ("_EDIT", "Edit");
56 56
 define ("_EDITFAVORITES", "Edit Favorites");
57 57
 define ("_EMAIL", "E-mail");
58
-define ("_EMAILFAILED", "The email could not be sent.  Please <a href='"._BASEDIR."contact.php'>contact the administrator</a> to report this problem.");
58
+define ("_EMAILFAILED", "The email could not be sent.  Please <a href='"._BASEDIR."report.php'>contact the administrator</a> to report this problem.");
59 59
 define ("_ERROR", "<strong>Error!</strong>We encountered an error.  Please go back and try again.");
60 60
 define ("_FATALERROR", "<b>A fatal MySQL error was encountered.</b><br />");
61 61
 define ("_FSTORY", "Feature");
... ...
@@ -193,7 +193,7 @@ define ("_FULLTEXT", "Full Text");
193 193
 define ("_INCLUDE", "to Include");
194 194
 define ("_RESULTS", "Search Results");
195 195
 define ("_SEARCHTERM", "Search term");
196
-define ("_SEARCHTERMTOOSHORT", "Your search term was too short.  Your search term must be a minimum of three characters long. <a href='search.php'>Try again.</a>");
196
+define ("_SEARCHTERMTOOSHORT", "Your search term was too short.  Your search term must be a minimum of three characters long. <a href='searching.php'>Try again.</a>");
197 197
 define ("_SIMPLE", "Simple Search");
198 198
 define ("_WORDCOUNT", "Word count");
199 199
 define ("_SEARCH", "Search");
... ...
@@ -365,7 +365,7 @@ define ("_REMOVEFAV", "Remove Favorite");
365 365
 // User - Login
366 366
 
367 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.");
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.");
368
+define ("_ACCOUNTLOCKED", "This account has been locked by the adminstrators of this site.  Please <a href='report.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
 // User - Review Response
... ...
@@ -380,7 +380,7 @@ define ("_ARCHIVEDAT", "This story archived at");
380 380
 define ("_BACK2INDEX", "Back to index");
381 381
 define ("_CONTINUE", "Continue");
382 382
 define ("_CONTRIBUTE2RR", "Contribute to Round Robin");
383
-define ("_INVALIDSTORY", "That story does not exist on this archive.  You may <a href='search.php'>search</a> for it or return to <a href='index.php'>the home page.</a>");
383
+define ("_INVALIDSTORY", "That story does not exist on this archive.  You may <a href='searching.php'>search</a> for it or return to <a href='index.php'>the home page.</a>");
384 384
 define ("_LOGINTOREVIEW", "You must %1\$s (%2\$s) to review.");
385 385
 define ("_SUBMITREVIEW", "Submit a Review");
386 386
 define ("_TEXTSIZE", "Text Size");
... ...
@@ -84,7 +84,7 @@ else include_once(_BASEDIR."modules/challenges/languages/en.php");
84 84
 			$challenges->assign("characters", $challenge['characters'] ? charlist($challenge['characters']) : _NONE);
85 85
 			$challenges->assign("category"   , ($challenge['catid'] > 0 ? catlist($challenge['catid']) : _NONE) );
86 86
 			if(isMEMBER) $challenges->assign("respond", "<div class=\"respond\"><a href=\"modules/challenges/challenges.php?action=respond&amp;chalid=".$challenge['chalid']."\">"._RESPOND2CHALLENGE."</a></div>");
87
-			$challenges->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&amp;url=modules/challenges/challenges.php?chalid=".$challenge['chalid']."\">"._REPORTTHIS."</a>]");
87
+			$challenges->assign("reportthis", "[<a href=\""._BASEDIR."report.php?action=report&amp;url=modules/challenges/challenges.php?chalid=".$challenge['chalid']."\">"._REPORTTHIS."</a>]");
88 88
 			$codequery = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_codeblocks WHERE code_type = 'challengeblock'");
89 89
 			while($code = dbassoc($codequery)) {
90 90
 				eval($code['code_text']);
... ...
@@ -292,7 +292,7 @@ else {
292 292
 		$challenges->assign("characters", $chars ? charlist($chars) : _NONE);
293 293
 		$challenges->assign("category", $cat > 0 ? catlist($cat) : _NONE);
294 294
 		$challenges->assign("respond", "<div class=\"respond\"><a href=\"challenges.php?action=respond&amp;chalid=$chalid\">"._RESPOND2CHALLENGE."</a></div>");
295
-		$challenges->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&amp;url=modules/challenges/challenges.php?chalid=".$chalid."\">"._REPORTTHIS."</a>]");
295
+		$challenges->assign("reportthis", "[<a href=\""._BASEDIR."report.php?action=report&amp;url=modules/challenges/challenges.php?chalid=".$chalid."\">"._REPORTTHIS."</a>]");
296 296
 		$output .= $challenges->getOutputContent( );
297 297
 		$tpl->gotoBlock( "_ROOT" );
298 298
 		$tpl->newBlock("listings");
... ...
@@ -53,7 +53,7 @@ if($numchal) {
53 53
 		$challenges->assign("characters", $challenge['characters'] ? charlist($challenge['characters']) : _NONE);
54 54
 		$challenges->assign("category"   , ($challenge['catid'] > 0 ? catlist($challenge['catid']) : _NONE) );
55 55
 		$challenges->assign("respond", "<div class=\"respond\"><a href=\""._BASEDIR."modules/challenges/challenges.php?action=respond&amp;chalid=".$challenge['chalid']."\">"._RESPOND2CHALLENGE."</a></div>");
56
-		$challenges->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&amp;url=modules/challenges/challenges.php?chalid=".$challenge['chalid']."\">"._REPORTTHIS."</a>]");
56
+		$challenges->assign("reportthis", "[<a href=\""._BASEDIR."report.php?action=report&amp;url=modules/challenges/challenges.php?chalid=".$challenge['chalid']."\">"._REPORTTHIS."</a>]");
57 57
 		$codequery = dbquery("SELECT * FROM ".TABLEPREFIX."fanfiction_codeblocks WHERE code_type = 'challengeblock'");
58 58
 		while($code = dbassoc($codequery)) {
59 59
 			eval($code['code_text']);
... ...
@@ -45,7 +45,7 @@ include("includes/pagesetup.php");
45 45
 	}
46 46
 	else
47 47
 	{
48
-		$output .= "<form method='POST' enctype='multipart/form-data' action='contact.php'>
48
+		$output .= "<form method='POST' enctype='multipart/form-data' action='report.php'>
49 49
 		<table class='acp'><tr><td><label for='email'>"._YOUREMAIL.":</label></td><td><INPUT type='text' class='textbox' name='email'></td></tr>";
50 50
 		if(!$action) $output .= "<tr><td><label for='subject'>"._SUBJECT.":</label></td><td><INPUT  type='text' class='textbox' name='subject'></td></tr>";
51 51
 		else if($action == "report") $output .= "<tr><td><label for='subject'>"._REPORT.":</label></td><td><select class='textbox' name='subject'>
... ...
@@ -383,7 +383,7 @@ else {
383 383
 		if(empty($reviews['respond']) && (USERUID == $authoruid || (isset($array_coauthors) && in_array(USERUID, $array_coauthors)))) $adminlink .= " [<a href=\"user.php?action=revres&amp;reviewid=".$reviews['reviewid']."\">"._RESPOND."</a>]";
384 384
 		$tpl->newBlock("reviewsblock");
385 385
 		$tpl->assign("reviewer"   , $reviewer );
386
-		$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&amp;url=reviews.php?reviewid=".$reviews['reviewid']."\">"._REPORTTHIS."</a>]");
386
+		$tpl->assign("reportthis", "[<a href=\""._BASEDIR."report.php?action=report&amp;url=reviews.php?reviewid=".$reviews['reviewid']."\">"._REPORTTHIS."</a>]");
387 387
 		$tpl->assign("review"   , stripslashes($reviews['review']));
388 388
 		$tpl->assign("reviewdate", date("$dateformat $timeformat", $reviews['date']) );
389 389
 		$tpl->assign("rating", ratingpics($reviews['rating']) );
... ...
@@ -252,7 +252,7 @@ if(isset($_POST['submit']) || isset($_GET['offset'])) {
252 252
 }
253 253
 else {
254 254
 	if($searchtype == "simple") {
255
-		$output .= "<div id=\"pagetitle\">"._SIMPLE."</div><div style='text-align: center;'><form method=\"post\" enctype=\"multipart/form-data\" action=\"search.php\">
255
+		$output .= "<div id=\"pagetitle\">"._SIMPLE."</div><div style='text-align: center;'><form method=\"post\" enctype=\"multipart/form-data\" action=\"searching.php\">
256 256
 		<div class=\"tblborder\" style=\"width: 320px; padding: 5px; margin: 0 auto;\">
257 257
 		<select name=\"searchtype\">
258 258
 		<option value=\"penname\">"._PENNAME."</option>
... ...
@@ -262,11 +262,11 @@ else {
262 262
 			$output .= "<option value=\"fulltext\">"._FULLTEXT."</option>";
263 263
 		$output .= "</select> <INPUT type=\"text\" class=\"textbox\" name=\"searchterm\" size=\"20\"> ";
264 264
 		$output .= "<INPUT type=\"submit\" class=\"button\" name=\"submit\" value=\""._SUBMIT."\" size=\"20\">
265
-		<div style=\"font-size: 8pt; text-align: right;\"><a href=\"search.php?searchtype=advanced\">"._ADVANCED."</a></div></div></form></div>";
265
+		<div style=\"font-size: 8pt; text-align: right;\"><a href=\"searching.php?searchtype=advanced\">"._ADVANCED."</a></div></div></form></div>";
266 266
 	}
267 267
 	else {
268 268
 		$output .= "<div id=\"pagetitle\">"._ADVANCED."</div><div>
269
-			<form method=\"POST\" name=\"form\" enctype=\"multipart/form-data\" action=\"search.php?searchtype=advanced\">
269
+			<form method=\"POST\" name=\"form\" enctype=\"multipart/form-data\" action=\"searching.php?searchtype=advanced\">
270 270
 			<div class=\"tblborder\" style=\"width: 90%; margin: 0 auto; padding: 10px;\">";
271 271
 		if($multiplecats) {
272 272
 			include("includes/categories.php");
... ...
@@ -79,7 +79,7 @@ while($code = dbassoc($codequery)) {
79 79
 }
80 80
 if(!empty($dynamicfields)) $tpl->assign("authorfields", $dynamicfields);
81 81
 /* End dynamic fields */
82
-$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&amp;url=viewuser.php?uid=".$uid."\">"._REPORTTHIS."</a>]");
82
+$tpl->assign("reportthis", "[<a href=\""._BASEDIR."report.php?action=report&amp;url=viewuser.php?uid=".$uid."\">"._REPORTTHIS."</a>]");
83 83
 $adminopts = "";
84 84
 if(isADMIN && uLEVEL < 3) {
85 85
 	$adminopts .= "<div class=\"adminoptions\"><span class='label'>"._ADMINOPTIONS.":</span> ".(isset($userinfo['validated']) && $userinfo['validated'] ? "[<a href=\"admin.php?action=members&amp;revoke=$uid\" class=\"vuadmin\">"._REVOKEVAL."</a>] " : "[<a href=\"admin.php?action=members&amp;validate=$uid\" class=\"vuadmin\">"._VALIDATE."</a>] ")."[<a href=\"author.php?action=editbio&amp;uid=$uid\" class=\"vuadmin\">"._EDIT."</a>] [<a href=\"admin.php?action=members&amp;delete=$uid\" class=\"vuadmin\">"._DELETE."</a>]";
... ...
@@ -324,8 +324,8 @@ else {
324 324
 		}
325 325
 		else $reviewslink = write_message(sprintf(_LOGINTOREVIEW, strtolower($pagelinks['login']['link']), strtolower($pagelinks['register']['link'])));
326 326
 	}
327
-	$tpl->assign("reportthis", "[<a href=\""._BASEDIR."contact.php?action=report&amp;url=viewstory.php?chapid=$chapid\">"._REPORTTHIS."</a>]");
328
-	$jumpmenu2 .= "<option value=\"contact.php?action=report&amp;url=viewstory.php?chapid=$chapid\">"._REPORTTHIS."</option>";
327
+	$tpl->assign("reportthis", "[<a href=\""._BASEDIR."report.php?action=report&amp;url=viewstory.php?chapid=$chapid\">"._REPORTTHIS."</a>]");
328
+	$jumpmenu2 .= "<option value=\"report.php?action=report&amp;url=viewstory.php?chapid=$chapid\">"._REPORTTHIS."</option>";
329 329
 	if($stories['rr']) {
330 330
 		$rr = "[<a href=\"stories.php?action=newchapter&amp;sid=".$sid."\">"._CONTRIBUTE2RR."</a>]";
331 331
 		$jumpmenu2 .= "<option value=\"stories.php?action=newchapter&amp;sid=".$sid."\">"._CONTRIBUTE2RR."</option>";