Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.0.8.2
- * @ Author : DeZender
- * @ Release on : 02.01.2019
- * @ Official site : http://DeZender.Net
- *
- */
- $action = $_POST['action'];
- if ($action == 'providers_list') {
- $smmapi = new SMMApi();
- $provider = $_POST['provider'];
- $api = $conn->prepare('SELECT * FROM service_api WHERE id=:id');
- $api->execute(['id' => $provider]);
- $api = $api->fetch(PDO::FETCH_ASSOC);
- if ($api['api_type'] == 2) {
- echo '<label class="col-sm-3 col-form-label">Servis</label>' . "\r\n" . ' <div class="col-sm-9">' . "\r\n" . ' <select class="form-control" name="service">' . "\r\n" . ' <option value="follow"';
- if ($_SESSION['data']['service'] == 'follow') {
- echo 'selected';
- }
- echo '>Takipçi</option>' . "\r\n" . ' <option value="like"';
- if ($_SESSION['data']['service'] == 'like') {
- echo 'selected';
- }
- echo '>Beğeni</option>' . "\r\n" . ' </select>' . "\r\n" . ' </div>';
- }
- else if ($api['api_type'] == 1) {
- $services = $smmapi->action(['key' => $api['api_key'], 'action' => 'services'], $api['api_url']);
- echo '<div class="service-mode__block">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Servis</label>' . "\r\n" . ' <select class="form-control" name="service">';
- foreach ($services as $service) {
- echo '<option value="' . $service->service . '"';
- if ($_SESSION['data']['service'] == $service->service) {
- echo 'selected';
- }
- echo '>' . $service->name . ' - ' . priceFormat($service->rate) . '</option>';
- }
- echo '</select>' . "\r\n" . ' </div>' . "\r\n" . ' </div>';
- }
- unset($_SESSION['data']);
- }
- else if ($action == 'paymentmethod-sortable') {
- $list = $_POST['methods'];
- foreach ($list as $method) {
- $update = $conn->prepare('UPDATE payment_methods SET method_line=:line WHERE id=:id ');
- $update->execute(['id' => $method['id'], 'line' => $method['line']]);
- }
- }
- else if ($action == 'service-sortable') {
- $list = $_POST['services'];
- foreach ($list as $service) {
- $id = explode('-', $service['id']);
- $update = $conn->prepare('UPDATE services SET service_line=:line WHERE service_id=:id ');
- $update->execute(['id' => $id[1], 'line' => $service['line']]);
- }
- }
- else if ($action == 'category-sortable') {
- $list = $_POST['categories'];
- foreach ($list as $category) {
- $update = $conn->prepare('UPDATE categories SET category_line=:line WHERE category_id=:id ');
- $update->execute(['id' => $category['id'], 'line' => $category['line']]);
- }
- }
- else if ($action == 'secret_user') {
- $id = $_POST['id'];
- $services = $conn->prepare('SELECT * FROM services RIGHT JOIN categories ON categories.category_id=services.category_id WHERE services.service_secret=\'1\' || categories.category_secret=\'1\' ');
- $services->execute(['id' => $id]);
- $services = $services->fetchAll(PDO::FETCH_ASSOC);
- $grouped = array_group_by($services, 'category_id');
- $return = '<form class="form" action="' . site_url('admin/clients/export') . '" method="post" data-xhr="true">' . "\r\n" . ' <div class="modal-body">' . "\r\n\r\n" . ' <div class="services-import__body">' . "\r\n" . ' <div>' . "\r\n" . ' <div class="services-import__list-wrap services-import__list-active">' . "\r\n" . ' <div class="services-import__scroll-wrap">';
- foreach ($grouped as $category) {
- $row = [
- 'table' => 'clients_category',
- 'where' => ['client_id' => $id, 'category_id' => $category[0]['category_id']]
- ];
- $return .= '<span>' . "\r\n" . ' <div class="services-import__category">' . "\r\n" . ' <div class="services-import__category-title">' . "\r\n" . ' <label> ';
- if ($category[0]['category_secret'] == 1) {
- $return .= '<small><i class="fa fa-lock"></i></small> <input type="checkbox"';
- if (countRow($row)) {
- $return .= 'checked';
- }
- $return .= ' class="tiny-toggle" data-tt-palette="blue" data-url="' . site_url('admin/clients/secret_category/' . $id) . '" data-id="' . $category[0]['category_id'] . '"> ';
- }
- $return .= $category[0]['category_name'] . ' </label>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n" . ' <div class="services-import__packages">' . "\r\n" . ' <ul>';
- for ($i = 0; $i < count($category); $i++) {
- $row = [
- 'table' => 'clients_service',
- 'where' => ['client_id' => $id, 'service_id' => $category[$i]['service_id']]
- ];
- $return .= '<li id="service-' . $category[$i]['service_id'] . '">' . "\r\n" . ' <label>';
- if ($category[$i]['service_secret'] == 1) {
- $return .= '<small><i class="fa fa-lock"></i></small> ';
- }
- $return .= $category[$i]['service_id'] . ' - ' . $category[$i]['service_name'] . "\r\n" . ' <span class="services-import__packages-price-edit" >';
- if ($category[$i]['service_secret'] == 1) {
- $return .= '<input type="checkbox"';
- if (countRow($row)) {
- $return .= 'checked';
- }
- $return .= ' class="tiny-toggle" data-tt-palette="blue" data-url="' . site_url('admin/clients/secret_service/' . $id) . '" data-id="' . $category[$i]['service_id'] . '">';
- }
- $return .= '</span>' . "\r\n" . ' </label>' . "\r\n" . ' </li>';
- }
- $return .= '</ul>' . "\r\n" . ' </div>' . "\r\n" . ' </span>';
- }
- $return .= '</div>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n" . ' <script src="' . site_url('public/admin/') . 'jquery.tinytoggle.min.js"></script>' . "\r\n" . ' <link rel="stylesheet" type="text/css" href="' . site_url('public/admin/') . 'tinytoggle.min.css" rel="stylesheet">' . "\r\n" . ' <script>' . "\r\n" . ' $(".tiny-toggle").tinyToggle({' . "\r\n" . ' onCheck: function() {' . "\r\n" . ' var id = $(this).attr("data-id");' . "\r\n" . ' var action = $(this).attr("data-url")+"?type=on&id="+id;' . "\r\n" . ' $.ajax({' . "\r\n" . ' url: action,' . "\r\n" . ' type: \'GET\',' . "\r\n" . ' dataType: \'json\',' . "\r\n" . ' cache: false,' . "\r\n" . ' contentType: false,' . "\r\n" . ' processData: false' . "\r\n" . ' }).done(function(result){' . "\r\n" . ' if( result == 1 ){' . "\r\n" . ' $.toast({' . "\r\n" . ' heading: "Başarılı",' . "\r\n" . ' text: "İşlem başarılı",' . "\r\n" . ' icon: "success",' . "\r\n" . ' loader: true,' . "\r\n" . ' loaderBg: "#9EC600"' . "\r\n" . ' });' . "\r\n" . ' }else{' . "\r\n" . ' $.toast({' . "\r\n" . ' heading: "Başarısız",' . "\r\n" . ' text: "İşlem başarısız",' . "\r\n" . ' icon: "error",' . "\r\n" . ' loader: true,' . "\r\n" . ' loaderBg: "#9EC600"' . "\r\n" . ' });' . "\r\n" . ' }' . "\r\n" . ' })' . "\r\n" . ' .fail(function(){' . "\r\n" . ' $.toast({' . "\r\n" . ' heading: "Başarısız",' . "\r\n" . ' text: "İşlem başarısız",' . "\r\n" . ' icon: "error",' . "\r\n" . ' loader: true,' . "\r\n" . ' loaderBg: "#9EC600"' . "\r\n" . ' });' . "\r\n" . ' });' . "\r\n" . ' },' . "\r\n" . ' onUncheck: function() {' . "\r\n" . ' var id = $(this).attr("data-id");' . "\r\n" . ' var action = $(this).attr("data-url")+"?type=off&id="+id;' . "\r\n" . ' $.ajax({' . "\r\n" . ' url: action,' . "\r\n" . ' type: \'GET\',' . "\r\n" . ' dataType: \'json\',' . "\r\n" . ' cache: false,' . "\r\n" . ' contentType: false,' . "\r\n" . ' processData: false' . "\r\n" . ' }).done(function(result){' . "\r\n" . ' if( result == 1 ){' . "\r\n" . ' $.toast({' . "\r\n" . ' heading: "Başarılı",' . "\r\n" . ' text: "İşlem başarılı",' . "\r\n" . ' icon: "success",' . "\r\n" . ' loader: true,' . "\r\n" . ' loaderBg: "#9EC600"' . "\r\n" . ' });' . "\r\n" . ' }else{' . "\r\n" . ' $.toast({' . "\r\n" . ' heading: "Başarısız",' . "\r\n" . ' text: "İşlem başarısız",' . "\r\n" . ' icon: "error",' . "\r\n" . ' loader: true,' . "\r\n" . ' loaderBg: "#9EC600"' . "\r\n" . ' });' . "\r\n" . ' }' . "\r\n" . ' })' . "\r\n" . ' .fail(function(){' . "\r\n" . ' $.toast({' . "\r\n" . ' heading: "Başarısız",' . "\r\n" . ' text: "İşlem başarısız",' . "\r\n" . ' icon: "error",' . "\r\n" . ' loader: true,' . "\r\n" . ' loaderBg: "#9EC600"' . "\r\n" . ' });' . "\r\n" . ' });' . "\r\n" . ' },' . "\r\n" . ' });' . "\r\n\r\n" . ' </script>' . "\r\n\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="modal-footer">' . "\r\n" . ' <button type="button" class="btn btn-default" data-dismiss="modal">Vazgeç</button>' . "\r\n" . ' </div>' . "\r\n" . ' </form>';
- echo json_encode(['content' => $return, 'title' => 'Kullanıcıya özel servisler']);
- }
- else if ($action == 'new_user') {
- $return = '<form class="form" action="' . site_url('admin/clients/new') . '" method="post" data-xhr="true">' . "\r\n" . ' <div class="modal-body">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label class="form-group__service-name">Üye adı</label>' . "\r\n" . ' <input type="text" class="form-control" name="name" value="">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Üye E-mail</label>' . "\r\n" . ' <input type="text" name="email" value="" class="form-control">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Kullanıcı adı</label>' . "\r\n" . ' <input type="text" name="username" class="form-control" value="">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Üye Parolası</label>' . "\r\n" . ' <div class="input-group">' . "\r\n" . ' <input type="text" class="form-control" name="password" value="" id="user_password">' . "\r\n" . ' <span class="input-group-btn">' . "\r\n" . ' <button class="btn btn-default" onclick="UserPassword()" type="button">' . "\r\n" . ' <span class="fa fa-random" data-toggle="tooltip" data-placement="bottom" title="" aria-hidden="true" data-original-title="Parola oluştur"></span></button>' . "\r\n" . ' </span>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Üye telefon</label>' . "\r\n" . ' <input type="text" name="telephone" class="form-control" value="">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Borç durumu</label>' . "\r\n" . ' <select class="form-control" id="debit" name="balance_type">' . "\r\n" . ' <option value="2">Borç yapamasın</option>' . "\r\n" . ' <option value="1">Borç yapabilsin</option>' . "\r\n" . ' </select>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="form-group" id="debit_limit">' . "\r\n" . ' <label>Ne kadar borç yapabilsin</label>' . "\r\n" . ' <input type="text" name="debit_limit" class="form-control" value="">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>SMS Onayı</label>' . "\r\n" . ' <select class="form-control" name="tel_type">' . "\r\n" . ' <option value="1">Onaysız</option>' . "\r\n" . ' <option value="2">Onaylı</option>' . "\r\n" . ' </select>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>E-mail Onayı</label>' . "\r\n" . ' <select class="form-control" name="email_type">' . "\r\n" . ' <option value="1">Onaysız</option>' . "\r\n" . ' <option value="2">Onaylı</option>' . "\r\n" . ' </select>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Yönetici Hesabı</label>' . "\r\n" . ' <select class="form-control" name="access[admin_access]">' . "\r\n" . ' <option value="0">Hayır</option>' . "\r\n" . ' <option value="1">Evet</option>' . "\r\n" . ' </select>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group row">' . "\r\n" . ' <label>Yönetici Yetkileri</label>' . "\r\n" . ' <div class="form-group col-md-12">' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[users]" checked value="1"> Kullanıcılar' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[orders]" checked value="1"> Siparişler' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[subscriptions]" checked value="1"> Abonelikler' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[dripfeed]" checked value="1"> Drip-feed' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[services]" checked value="1"> Servisler' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[payments]" checked value="1"> Ödemeler' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[tickets]" checked value="1"> Destek sistemi' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[reports]" checked value="1"> İstatistikler' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[general_settings]" checked value="1"> Genel ayarlar' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[pages]" checked value="1"> Sayfalar' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[payments_settings]" checked value="1"> Ödeme ayarları' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[bank_accounts]" checked value="1"> Banka Hesapları' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[payments_bonus]" checked value="1"> Ödeme bonusları' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[alert_settings]" checked value="1"> Bildirim ayarları' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[providers]" checked value="1"> Servis sağlayıcıları' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[themes]" checked value="1"> Tema düzenleyicisi' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[admins]" checked value="1"> Yönetici yetkileri' . "\r\n" . ' </label>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="modal-footer">' . "\r\n" . ' <button type="submit" class="btn btn-primary">Kullanıcıyı kayıt et</button>' . "\r\n" . ' <button type="button" class="btn btn-default" data-dismiss="modal">Vazgeç</button>' . "\r\n" . ' </div>' . "\r\n" . ' </form>' . "\r\n" . ' <script>' . "\r\n" . ' var type = $("#debit").val();' . "\r\n" . ' if( type == 2 ){' . "\r\n" . ' $("#debit_limit").hide();' . "\r\n" . ' } else{' . "\r\n" . ' $("#debit_limit").show();' . "\r\n" . ' }' . "\r\n" . ' $("#debit").change(function(){' . "\r\n" . ' var type = $(this).val();' . "\r\n" . ' if( type == 2 ){' . "\r\n" . ' $("#debit_limit").hide();' . "\r\n" . ' } else{' . "\r\n" . ' $("#debit_limit").show();' . "\r\n" . ' }' . "\r\n" . ' });' . "\r\n" . ' </script>';
- echo json_encode(['content' => $return, 'title' => 'Yeni kullanıcı kaydı']);
- }
- else if ($action == 'edit_user') {
- $id = $_POST['id'];
- $user = $conn->prepare('SELECT * FROM clients WHERE client_id=:id ');
- $user->execute(['id' => $id]);
- $user = $user->fetch(PDO::FETCH_ASSOC);
- $access = json_decode($user['access'], true);
- $return = '<form class="form" action="' . site_url('admin/clients/edit/' . $user['username']) . '" method="post" data-xhr="true">' . "\r\n" . ' <div class="modal-body">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label class="form-group__service-name">Üye adı</label>' . "\r\n" . ' <input type="text" class="form-control" name="name" value="' . $user['name'] . '">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Üye E-mail</label>' . "\r\n" . ' <input type="text" name="email" value="' . $user['email'] . '" class="form-control">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Kullanıcı adı</label>' . "\r\n" . ' <input type="text" name="username" class="form-control" readonly value="' . $user['username'] . '">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Üye telefon</label>' . "\r\n" . ' <input type="text" name="telephone" class="form-control" value="' . $user['telephone'] . '">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Borç durumu</label>' . "\r\n" . ' <select class="form-control" id="debit" name="balance_type">' . "\r\n" . ' <option value="2"';
- if ($user['balance_type'] == 2) {
- $return .= 'selected';
- }
- $return .= '>Borç yapamasın</option>' . "\r\n" . ' <option value="1"';
- if ($user['balance_type'] == 1) {
- $return .= 'selected';
- }
- $return .= '>Borç yapabilsin</option>' . "\r\n" . ' </select>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="form-group" id="debit_limit">' . "\r\n" . ' <label>Ne kadar borç yapabilsin</label>' . "\r\n" . ' <input type="text" name="debit_limit" class="form-control" value="' . $user['debit_limit'] . '">' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>SMS Onayı</label>' . "\r\n" . ' <select class="form-control" name="tel_type">' . "\r\n" . ' <option value="1"';
- if ($user['tel_type'] == 1) {
- $return .= 'selected';
- }
- $return .= '>Onaysız</option>' . "\r\n" . ' <option value="2"';
- if ($user['tel_type'] == 2) {
- $return .= 'selected';
- }
- $return .= '>Onaylı</option>' . "\r\n" . ' </select>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>E-mail Onayı</label>' . "\r\n" . ' <select class="form-control" name="email_type">' . "\r\n" . ' <option value="1"';
- if ($user['email_type'] == 1) {
- $return .= 'selected';
- }
- $return .= '>Onaysız</option>' . "\r\n" . ' <option value="2"';
- if ($user['email_type'] == 2) {
- $return .= 'selected';
- }
- $return .= '>Onaylı</option>' . "\r\n" . ' </select>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group">' . "\r\n" . ' <label>Yönetici Hesabı</label>' . "\r\n" . ' <select class="form-control" name="access[admin_access]">' . "\r\n" . ' <option value="0"';
- if ($access['admin_access'] == 0) {
- $return .= 'selected';
- }
- $return .= '>Hayır</option>' . "\r\n" . ' <option value="1"';
- if ($access['admin_access'] == 1) {
- $return .= 'selected';
- }
- $return .= '>Evet</option>' . "\r\n" . ' </select>' . "\r\n" . ' </div>' . "\r\n" . ' </div>' . "\r\n\r\n" . ' <div class="service-mode__block">' . "\r\n" . ' <div class="form-group row">' . "\r\n" . ' <label>Yönetici Yetkileri</label>' . "\r\n" . ' <div class="form-group col-md-12">' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[users]"';
- if ($access['users'] == 1) {
- $return .= 'checked';
- }
- $return .= ' value="1"> Kullanıcılar' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[orders]"';
- if ($access['orders'] == 1) {
- $return .= 'checked';
- }
- $return .= ' value="1"> Siparişler' . "\r\n" . ' </label>' . "\r\n" . ' <label class="checkbox-inline col-md-3">' . "\r\n" . ' <input type="checkbox" class="access" name="access[subscriptions]"';
- if ($access['subscriptions'] == 1) {
- $return .= 'checked';
- ..................................................................
- ...........................................
- ....................
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement