upload auto fill offer

This commit is contained in:
xiaomlove
2022-05-25 02:15:41 +08:00
parent 4ccfa9fc3a
commit 69f02de4eb
8 changed files with 46 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<?php
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.11');
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-05-23');
defined('VERSION_NUMBER') || define('VERSION_NUMBER', '1.7.12');
defined('RELEASE_DATE') || define('RELEASE_DATE', '2022-05-25');
defined('IN_TRACKER') || define('IN_TRACKER', true);
defined('PROJECTNAME') || define("PROJECTNAME","NexusPHP");
defined('NEXUSPHPURL') || define("NEXUSPHPURL","https://nexusphp.org");

View File

@@ -893,6 +893,11 @@ function doInsert(ibTag, ibClsTag, isSingle)
return isClose;
}
function clearContent()
{
document.<?php echo $form?>.<?php echo $text?>.value = '';
}
function winop()
{
windop = window.open("moresmilies.php?form=<?php echo $form?>&text=<?php echo $text?>","mywin","height=500,width=500,resizable=no,scrollbars=yes");
@@ -1682,6 +1687,10 @@ function image_code () {
function check_code ($imagehash, $imagestring, $where = 'signup.php',$maxattemptlog=false,$head=true) {
global $lang_functions;
global $iv;
if ($iv !== 'yes') {
return true;
}
$query = sprintf("SELECT * FROM regimages WHERE imagehash='%s' AND imagestring='%s'",
mysql_real_escape_string($imagehash),
mysql_real_escape_string($imagestring));