mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-22 02:47:27 +08:00
add reset user id auto_increment command
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
<?php
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.22');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-08-17');
|
||||
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.23');
|
||||
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-08-19');
|
||||
defined('IN_TRACKER') || define('IN_TRACKER', false);
|
||||
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
|
||||
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");
|
||||
defined('NEXUSWIKIURL') || define("NEXUSWIKIURL","https://doc.nexusphp.org");
|
||||
defined('VERSION') || define("VERSION","Powered by <a href=\"aboutnexus.php\">".PROJECTNAME."</a>");
|
||||
defined('THISTRACKER') || define("THISTRACKER","General");
|
||||
defined('CONTENT_WIDTH') || define("CONTENT_WIDTH", 1200);
|
||||
defined('ROOT_PATH') || define('ROOT_PATH', dirname(__DIR__) . '/');
|
||||
defined('DEFAULT_TRACKER_URI') || define('DEFAULT_TRACKER_URI', '/announce.php');
|
||||
if (!defined('RUNNING_IN_OCTANE')) {
|
||||
|
||||
@@ -615,7 +615,7 @@ function begin_main_frame($caption = "", $center = false, $width = 100)
|
||||
$tdextra .= " align=\"center\"";
|
||||
|
||||
if (!str_ends_with($width, '%')) {
|
||||
$width = 1200 * $width / 100;
|
||||
$width = CONTENT_WIDTH * $width / 100;
|
||||
}
|
||||
|
||||
print("<table class=\"main\" width=\"".$width."\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">" .
|
||||
@@ -2551,7 +2551,7 @@ foreach (\Nexus\Nexus::getAppendHeaders() as $value) {
|
||||
<script type="text/javascript" src="vendor/layer-v3.5.1/layer/layer.js<?php echo $cssupdatedate?>"></script>
|
||||
</head>
|
||||
<body>
|
||||
<table class="head" cellspacing="0" cellpadding="0" align="center">
|
||||
<table class="head" cellspacing="0" cellpadding="0" align="center" style="width: <?php echo CONTENT_WIDTH + 28.66 ?>px">
|
||||
<tr>
|
||||
<td class="clear">
|
||||
<?php
|
||||
@@ -2586,7 +2586,7 @@ if ($enabledonation == 'yes'){?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="mainouter" width="1200" cellspacing="0" cellpadding="5" align="center">
|
||||
<table class="mainouter" width="<?php echo CONTENT_WIDTH ?>" cellspacing="0" cellpadding="5" align="center">
|
||||
<tr><td id="nav_block" class="text" align="center">
|
||||
<?php if (!$CURUSER) { ?>
|
||||
<a href="login.php"><font class="big"><b><?php echo $lang_functions['text_login'] ?></b></font></a> / <a href="signup.php"><font class="big"><b><?php echo $lang_functions['text_signup'] ?></b></font></a>
|
||||
|
||||
Reference in New Issue
Block a user