* (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ include 'conf/zcnf.php'; include 'lang/' . GetPrefdLang($personalinfo['ap_language_vc']) . '.php'; include 'inc/zAccountDetails.php'; if (isset($_POST['inSubmit'])) { addhtaccess($_POST['inPassA'], $_POST['inPassB'], $_POST['inAuthName'], $_POST['inUserName']); } if (isset($_POST['inDelete'])) { deletehtaccess(); } echo $lang['344']; echo "<br><br>"; echo "» <a href=\"apps/phpsysinfo/\" target=\"_blank\" title=\"" . $lang['345'] . "\">" . $lang['345'] . "</a>"; ?> <FORM id="frmSysInfo" name="frmSysInfo" method="post" action="<?php echo GetFullURL(); ?> "> <br><h2><?php
if (!isset($user)) { $user = NULL; } $sql = "SELECT * FROM z_mysql WHERE my_acc_fk=" . $useraccount['ac_id_pk'] . " AND my_deleted_ts IS NULL"; $listmysql = DataExchange("r", $z_db_name, $sql); $rowmysql = mysql_fetch_assoc($listmysql); $path = GetSystemOption('hosted_dir') . $_SESSION['zUsername'] . "/"; $userreturnpath = trim(substr($_POST['returnpath'], strlen(GetSystemOption('hosted_dir')), strlen($_POST['returnpath']))); if (isset($_POST['deletehtaccess'])) { deletehtaccess($useraccount['ac_id_pk'], $_POST['deletehtaccess'], $_POST['upatereturnpath']); } if (isset($_POST['deleteuser'])) { deleteuser($_POST['ht_id_pk'], $_POST['deleteuser']); } if (isset($_POST['addhtaccess'])) { addhtaccess($useraccount['ac_id_pk'], $_POST['ht_user_vc'], $_POST['ht_dir_vc'], $_POST['htusername'], $_POST['htpassword1'], $_POST['htpassword2'], $_POST['AuthName']); } if (isset($_POST['adduser'])) { adduser($useraccount['ac_id_pk'], $_POST['ht_user_vc'], $_POST['ht_dir_vc'], $_POST['htusername'], $_POST['htpassword1'], $_POST['htpassword2']); } //HEADER AND SELECTED FOLDER DIV echo $lang['314'] . "<br><br>"; if (isset($_POST['returnpath'])) { if ($_POST['returnpath'] != "") { echo '<div class="zannouce" style="margin-right:10px;"><b>' . $lang['317'] . ': </b>' . $userreturnpath . '</div><br>'; } else { echo '<div class="zannouce" style="margin-right:10px;">' . $lang['343'] . '</div><br>'; } } ?> <FORM id="getpath" action="<?php