Server IP : 149.202.105.228 / Your IP : 216.73.216.18 Web Server : Apache System : Linux webm129.cluster030.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 User : atfycaf ( 116275) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/atfycaf/www/admin/ |
Upload File : |
<?php $thisCheckID = 41; include 'globalVars.php'; include 'header.php'; ?> <h2>Edit the Site Configuration and Static Text on the Website</h2> <?php // $langTable = $_POST["language"]; $langTable = "en"; $langTitle = $langArray[$langTable]; $varTitles = array("META DEFAULT VARIABLES", "GLOBAL VARIABLES", "CALENDAR VARIABLES", "KNOCKOUT VARIABLES", "LEAGUE VARIABLES", "CHAMPIONSHIP HONOURS VARIABLES", "COMMITTEE VARIABLES", "PHOTO GALLERY OPTIONS", "CONTACT FORM VARIABLES", "LOGIN VARIABLES", "PASSWORD RESET VARIABLES", "COOKIES VARIABLES", "404 ERROR VARIABLES", "FORTHCOMING EVENTS VARIABLES", "SUBSCRIBE VARIABLES", "UNSUBSCRIBE VARIABLES", "REGISTRATION FORM VARIABLES", "UPDATES TICKER VARIABLES"); ?> <p>Change the static text you want. Please be sure to click the Refresh button next to each variable to ensure that they update.</p> <input type="hidden" name="thisLang" id="thisLang" value="<?php echo $langTable ?>" /> <?php foreach($varTitles as $varType => $varTitle) { $varTitle = ucfirst(strtolower($varTitle)); ?> <h2><?php echo "$langTitle $varTitle" ?> - <span id="hide<?php echo $varType ?>">show</span></h2> <div id="div<?php echo $varType ?>" class="staticDiv"> <table width="100%" border="0" cellspacing="2" cellpadding="3"> <?php $i = 0; $globalQuery = mysqli_query($conn, "SELECT * FROM globalLang_". $langTable ." WHERE varType = '$varType' ORDER BY varOrder ASC"); while ($gQ = mysqli_fetch_array($globalQuery)) { $varID = $gQ["id"]; $varDesc = $gQ["varDesc"]; $varValue = $gQ["varValue"]; if ($i % 2) { $trStyle = ' class="oddRow"'; $loadGif = "CCC"; } else { $trStyle = ""; $loadGif = "F1"; } ?> <tr<?php echo $trStyle ?>> <td width="60%" valign="top"><?php echo $varDesc ?></td> <td width="30%"><textarea name="varValue_<?php echo $varID ?>" id="varValue_<?php echo $varID ?>" class="globalVarText"><?php echo $varValue ?></textarea></td> <td align="center"> <input type="button" class="updateGlobal" id="updateGlobal_<?php echo $varID ?>" value="Update" /> <div class="loadingWaiting" id="loadingWaiting_<?php echo $varID ?>"> <img src="<?php echo $url ?>admin/images/loading<?php echo $loadGif ?>.gif" width="16" height="16" alt="Loading, Please Wait..." title="Loading, Please Wait..." border="0" /> </div> <div class="completeMsg" id="completeMsg_<?php echo $varID ?>"></div> </td> </tr> <?php $i++; } ?> </table> <a id="hide<?php echo $varType ?>Bot" class="hideConfig">hide</a> </div> <?php } ?> <?php include 'footer.php'; ?>