Server : LiteSpeed
System : Linux terra.hostitbro.com 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User : outerorb ( 1091)
PHP Version : 8.1.34
Disable Function : mail
Directory :  /home6/outerorb/dev.outerorbittech.com/oot/admin/

📁 Create New:
⬆️ Upload File:
Current Dir [ Writable ] Root [ Writable ]


OR Upload from URL:
URL: Save as:

📄 File: home-pointer.php

Path: //home6/outerorb/dev.outerorbittech.com/oot/admin/home-pointer.php

Size: 4.2 KB

Permissions: 0644

<?php
include_once("../include/main.inc.php");
check_session('MyCpanel', 'index.php');

if ($_POST['action'] == "Update") {
  @extract($_POST);
  updateTable("homepage_pointer", " title1='$title1', title2='$title2', title3='$title3', title4='$title4', title5='$title5',title6='$title6',title7='$title7', description1='$description1', description2='$description2', description3='$description3', description4='$description4', description5='$description5',description6='$description6',description7='$description7' where web_type='1'");
  $_SESSION['session_message'] = "Records have been updated successfully";
  header("Location:" . SITE_ADMIN_URL . "/home-pointer.php");
  exit;
}

$res = getResult("homepage_pointer", " where web_type='1'");
admin_header();
?>
<form name="form1" method="post" action="" onsubmit="return validate(this);">
  <h4 align="center" style="font-weight: 600;
    margin: 10px 10px 15px 15px;
    padding: 10px 15px;
    border: 15px;
    ">Manage Homepage Pointer</h4>

  <?php
  if ($_SESSION['session_message'] != "") {
    ?>
    <center><?php print_message(); ?></center>
    <?php
  }
  ?>


  <div class="form-group">
    <label for="email">Pointer 1 *:</label>
    <input type="text" class="form-control txtfieldadmin" value="<?= $res['title1']; ?>" placeholder="Enter Title 1" name="title1">  
  </div>
  <div class="form-group">
    <label for="email">Description 1 *:</label>
    <textarea name="description1"  class="form-control txtfieldadmin" rows="5" cols="10"><?= $res['description1']; ?></textarea>
  </div>

  <div class="form-group">
    <label for="email">Pointer 2 *:</label>
    <input type="text" class="form-control txtfieldadmin" value="<?= $res['title2']; ?>" placeholder="Enter Title 2" name="title2">  
  </div>
  <div class="form-group">
    <label for="email">Description 2 *:</label>
    <textarea name="description2"  class="form-control txtfieldadmin" rows="5" cols="10"><?= $res['description2']; ?></textarea>
  </div>

  <div class="form-group">
    <label for="email">Pointer 3 *:</label>
    <input type="text" class="form-control txtfieldadmin" value="<?= $res['title3']; ?>" placeholder="Enter Title 3" name="title3">  
  </div>
  <div class="form-group">
    <label for="email">Description 3 *:</label>
    <textarea name="description3"  class="form-control txtfieldadmin" rows="5" cols="10"><?= $res['description3']; ?></textarea>
  </div>

  <div class="form-group">
    <label for="email">Pointer 4 *:</label>
    <input type="text" class="form-control txtfieldadmin" value="<?= $res['title4']; ?>" placeholder="Enter Title 4" name="title4">  
  </div>
  <div class="form-group">
    <label for="email">Description 4 *:</label>
    <textarea name="description4"  class="form-control txtfieldadmin" rows="5" cols="10"><?= $res['description4']; ?></textarea>
  </div>

  <div class="form-group">
    <label for="email">Pointer 5 *:</label>
    <input type="text" class="form-control txtfieldadmin" value="<?= $res['title5']; ?>" placeholder="Enter Title 5" name="title5">  
  </div>
  <div class="form-group">
    <label for="email">Description 5 *:</label>
    <textarea name="description5"  class="form-control txtfieldadmin" rows="5" cols="10"><?= $res['description5']; ?></textarea>
  </div>

  <div class="form-group">
    <label for="email">Pointer 6 *:</label>
    <input type="text" class="form-control txtfieldadmin" value="<?= $res['title6']; ?>" placeholder="Enter Title 6" name="title6">  
  </div>
  <div class="form-group">
    <label for="email">Description 6 *:</label>
    <textarea name="description6"  class="form-control txtfieldadmin" rows="5" cols="10"><?= $res['description6']; ?></textarea>
  </div>
  <div class="form-group">
    <label for="email">Pointer 7 *:</label>
    <input type="text" class="form-control txtfieldadmin" value="<?= $res['title7']; ?>" placeholder="Enter Title 7" name="title7">  
  </div>
  <div class="form-group">
    <label for="email">Description 7 *:</label>
    <textarea name="description7"  class="form-control txtfieldadmin" rows="5" cols="10"><?= $res['description7']; ?></textarea>
  </div>

  <input type="hidden" name="action" value="Update">
  <input name="f2" type="submit" class="button btn btn-success" value="Submit">  </td>

</form>
<?php
admin_footer();
exit;
?>

← Back to Directory Edit File 🔒 Chmod

WP File Manager