change url

This commit is contained in:
xiaomlove
2021-01-30 16:41:02 +08:00
parent e8f58c761a
commit 5f6ca9ff4c
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
define('NEXUS_START', microtime(true)); define('NEXUS_START', microtime(true));
define('IN_TRACKER', true); define('IN_TRACKER', true);
define("PROJECTNAME","NexusPHP"); define("PROJECTNAME","NexusPHP");
define("NEXUSPHPURL","http://www.nexusphp.com"); define("NEXUSPHPURL","http://nexusphp.org");
define("NEXUSWIKIURL","http://www.nexusphp.com/wiki"); define("NEXUSWIKIURL","http://doc.nexusphp.org");
define("VERSION","Powered by <a href=\"aboutnexus.php\">".PROJECTNAME."</a>"); define("VERSION","Powered by <a href=\"aboutnexus.php\">".PROJECTNAME."</a>");
define("THISTRACKER","General"); define("THISTRACKER","General");
$showversion = " - Powered by ".PROJECTNAME; $showversion = " - Powered by ".PROJECTNAME;
+1 -1
View File
@@ -209,7 +209,7 @@ elseif (isset($_GET['action']) && $_GET['action'] == "newforum"){
<td> <td>
<select name=overforums> <select name=overforums>
<?php <?php
$forid = $row["forid"]; $forid = $row["forid"] ?? 0;
$res = sql_query("SELECT * FROM overforums"); $res = sql_query("SELECT * FROM overforums");
while ($arr = mysql_fetch_array($res)) { while ($arr = mysql_fetch_array($res)) {
+1 -1
View File
@@ -621,7 +621,7 @@ if ($showtrackerload == "yes") {
?> ?>
<table width="100%" class="main" border="0" cellspacing="0" cellpadding="0"><tr><td class="embedded"> <table width="100%" class="main" border="0" cellspacing="0" cellpadding="0"><tr><td class="embedded">
<div align="center"><br /><font class="medium"><?php echo $lang_index['text_browser_note'] ?></font></div> <div align="center"><br /><font class="medium"><?php echo $lang_index['text_browser_note'] ?></font></div>
<div align="center"><a href="http://www.nexusphp.com" title="<?php echo PROJECTNAME?>" target="_blank"><img src="pic/nexus.png" alt="<?php echo PROJECTNAME?>" /></a></div> <div align="center"><a href="<?php echo NEXUSPHPURL?>" title="<?php echo PROJECTNAME?>" target="_blank"><img src="pic/nexus.png" alt="<?php echo PROJECTNAME?>" /></a></div>
</td></tr></table> </td></tr></table>
<?php <?php
// ------------- end: browser, client and code note ------------------// // ------------- end: browser, client and code note ------------------//
+1 -1
View File
@@ -37,7 +37,7 @@ function searchtable($title, $action, $opts = array()){
if ($opts) { if ($opts) {
print($lang_log['text_in']."<select name=search>"); print($lang_log['text_in']."<select name=search>");
foreach($opts as $value => $text) foreach($opts as $value => $text)
print("<option value='".$value."'". ($value == $_GET['search'] ? " selected" : "").">".$text."</option>"); print("<option value='".$value."'". (isset($_GET['search']) && $value == $_GET['search'] ? " selected" : "").">".$text."</option>");
print("</select>"); print("</select>");
} }
print("<input type=\"hidden\" name=\"action\" value='".$action."'>&nbsp;&nbsp;"); print("<input type=\"hidden\" name=\"action\" value='".$action."'>&nbsp;&nbsp;");