BossBey File Manager
PHP:
7.3.31-1~deb10u1
OS:
Linux
User:
www-data
Root
/
home
/
www
/
inorg
/
coord_old
/
script
📤 Upload
📝 New File
📁 New Folder
Close
Editing: year_increment.php
<?php include_once("../auth_incl.php"); include_once("../db_connect_incl.php"); include_once("../settings_incl.php"); $show=$HTTP_GET_VARS['show']; if ($rez>=50) { $action=$HTTP_GET_VARS['action']; $rank=$HTTP_GET_VARS['rank']; if ($action=='up') {$sign='+';}; if ($action=='down') {$sign='-';}; $sql_query="update staff set year = year ${'sign'} 1 where rank=$rank;"; echo $sql_query; mysql_query($sql_query); } header("Location:http://$domain/index.php?section=2&show=$show$add"); ?>
Save
Cancel