( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
include($_SERVER['DOCUMENT_ROOT']."/includes/limittext.php");
include($_SERVER['DOCUMENT_ROOT'].'/Connections/videoondemand.php');
require($_SERVER['DOCUMENT_ROOT']."/DbSql2.inc.php");
require($_SERVER['DOCUMENT_ROOT']."/NewsSql2.inc.php");
$db = new NewsSQL();
ini_set('display_errors', 0);
$euserid = $_COOKIE['euserid'];
$pichaC=$db->Profile_Pic($euserid );
$resultMe = $db->idtoRecord($euserid);
include($_SERVER['DOCUMENT_ROOT']."/pages/pageTitle.php");?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php if(empty($websiteTitle)) { $websiteTitle = ucwords($mode); }?>
<title><?php echo $siteName ?> - <?php echo $websiteTitle ?></title>
<link rel="shortcut icon" type="image/png" href="https://www.thebrand.ai/i/uploads/logo/logo_6119277f674cd2.png"/>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/vendor/font-icons/css/mds-icons.min.css"/>
<!-- Bootstrap 3.3.7 -->
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/vendor/bootstrap/css/bootstrap.css">
<!-- Datatables -->
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/vendor/datatables/dataTables.bootstrap.css">
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/vendor/datatables/jquery.dataTables_themeroller.css">
<!-- Tags Input -->
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/vendor/tagsinput/jquery.tagsinput.min.css">
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/vendor/pace/pace.min.css">
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/vendor/magnific-popup/magnific-popup.css">
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/css/plugins-1.8.css">
<!-- Theme style -->
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/css/AdminLTE.min.css">
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/css/skin-black-light.min.css">
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/vendor/file-uploader/css/jquery.dm-uploader.min.css"/>
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/vendor/file-uploader/css/styles.css"/>
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/vendor/file-manager/file-manager.css">
<!-- Theme style -->
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/css/main-1.8.css">
<link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/css/dashboard-1.8.css">
<style>body, h1, h2, h3, h4, h5, h6 {
font-family: "Poppins", Helvetica, sans-serif }
</style>
<!-- <link rel="stylesheet" type="text/css" href="https://www.thebrand.ai/i/../pages/splash/startags.css">
--> <link rel="stylesheet" href="https://www.thebrand.ai/i/assets/admin/css/poppins.css">
<script type="text/javascript" src="<?php echo $siteaddress; ?>i/assets/js/jquery-1.9.1.min.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/css/admin/color-picker.min.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/css/admin/farbtastic.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/css/includes/dashicons.min.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/css/includes/admin-bar.min.css"/>
<?php /*?><link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/css/includes/buttons.min.css" /><?php */ ?>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/css/includes/media-views.min.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/css/includes/jquery-ui-dialog.min.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/image_crud/css/fineuploader.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/image_crud/css/photogallery.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/image_crud/css/overlay.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/js/includes/mediaelement/mediaelementplayer.min.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/js/includes/mediaelement/wp-mediaelement.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandAssets/js/includes/imgareaselect/imgareaselect.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandRoute/admin/assets/css/edit_layers.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandRoute/public/assets/css/settings.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandRoute/public/assets/fonts/font-awesome/css/font-awesome.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandRoute/public/assets/fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/css/wysiwyg.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandRoute/admin/assets/css/global.css"/>
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $siteaddress2; ?>/i/brandEngine/brandRoute/public/assets/css/brand-color-picker.css"/>
<link rel="stylesheet" href="<?php echo $siteaddress; ?>css/eziki.css" type="text/css"/>
<link rel="stylesheet" type="text/css" href="<?php echo $siteaddress; ?>css/icofont.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo $siteaddress; ?>pages/splash/startags.css">
<link href='<?php echo $siteaddress; ?>css/poppins.css' rel='stylesheet' type='text/css'>
<script>var directionality = "ltr";</script>
<!-- jQuery 3 -->
<script src="https://www.thebrand.ai/i/assets/admin/js/jquery.min.js"></script>
<script src="https://www.thebrand.ai/i/assets/vendor/file-uploader/js/jquery.dm-uploader.min.js"></script>
<script src="https://www.thebrand.ai/i/assets/vendor/file-uploader/js/ui.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>.swal-overlay {z-index: 999999999;}</style>
<script>
var base_url = "https://www.thebrand.ai/i/";
var sys_lang_id = "1";
var csfr_token_name = "token";
var csfr_cookie_name = "token";
</script>
</head>
<body class="hold-transition skin-black-light sidebar-mini">
<div class="wrapper">
<header class="main-header" style=" background-color: #ffffff;">
<div class="main-header-inner" >
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top" >
<!-- Sidebar toggle button-->
<a href="#" id="clickid" class="sidebar-toggle" data-toggle="push-menu" role="button">
<i class="fa fa-bars" aria-hidden="true"></i>
</a>
<div class="navbar-custom-menu">
<form action="https://www.thebrand.ai/i/admin_controller/control_panel_language_post" id="form_control_panel_lang" method="post" accept-charset="utf-8">
<input type="hidden" name="token" value="71cfdf674b152c001d79df15aecec824">
<ul class="nav navbar-nav">
<li id="check" style="padding-top: 15px; padding-right: 17px">
<!-- </li> <li>-->
<!-- <a class="btn btn-sm btn-white pull-left btn-site-prev" style="background-color: white" href="https://www.thebrand.ai/i/designs"><i class="fa fa-images"></i> Browse Templates</a>-->
<!-- </li>-->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img class="user-image" src="<?php echo $siteaddress3 ?>taswira.php?quality=70&nocache=1&width=150&height=150&cropratio=1:1&image=/v/uploads/gthumbs/<?php echo $pichaC;?>" alt="Brand Designer">
<?php echo "@".$resultMe[0]["user_name"] ?> <i class="icon-arrow-down"></i>
</a>
<ul class="dropdown-menu">
<li>
<a href="https://www.thebrand.ai/i/account/">
<i class="icon-dashboard"></i>
My Account </a>
</li>
<li>
<a href="https://www.thebrand.ai/i/settings"><i class="fa fa-cog"></i> Update Profile</a>
</li>
<li>
<a href="https://www.thebrand.ai/i/orders">
<i class="icon-shopping-basket"></i>
Orders </a>
</li>
<li>
<a href="https://www.thebrand.ai/i/downloads">
<i class="icon-download"></i>
Downloads </a>
</li>
<li>
<a href="https://www.thebrand.ai/i/messages">
<i class="icon-mail"></i>
Messages </a>
</li>
<li>
<a href="https://www.thebrand.ai/i/settings/change-password"><i class="fa fa-lock"></i> Change Password</a>
</li>
<li>
<a href="https://www.thebrand.ai/i/settings/update-profile">
<i class="icon-settings"></i>
Settings </a>
</li>
<li>
<a href="https://www.thebrand.ai/i/logout" class="logout">
<i class="icon-logout"></i>
Logout </a>
</li>
</ul>
</li>
</ul>
</form> </div>
</nav>
</div>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<div class="sidebar-scrollbar">
<ul class="sidebar-menu" data-widget="tree">
<li class="header"> <!-- Sidebar toggle button-->
<a href="https://www.thebrand.ai/i/">
<img style="margin-left: 0px;padding-left: 0px;" align="left" width="100" src="https://www.thebrand.ai/i/uploads/logo/logo_62a4de26e93f0.png" alt=""> </li>
<li class="header"> Hi, Brand Designer</li> <li >
<a href="https://www.thebrand.ai/i/account/">
<i class="fa fa-home"></i> <span>My Account Home</span>
</a>
</li>
<li class="header">Designs </li>
<!-- <li class="nav-bulk-product-upload">
<a href="">
<i class="fa fa-cloud-upload"></i>
<span></span>
</a>
</li>
--> <li class="treeview">
<a href="#">
<i class="fa fa-shopping-basket"></i>
<span>My Designs </span>
<span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
</a>
<ul class="treeview-menu">
<li class="nav-products"><a href="https://www.thebrand.ai/i/account/designs">Designs </a></li>
<!-- <li class="nav-pending-products"><a href=""></a></li>
<li class="nav-hidden-products"><a href=""></a></li>
<li class="nav-expired-products"><a href=""></a></li>
<li class="nav-sold-products"><a href=""></a></li>-->
<li class="nav-drafts"><a href="https://www.thebrand.ai/i/account/drafts">Drafts</a></li>
</ul>
</li>
<!--<li class="treeview">
<a href="#">
<i class="fa fa-file" style="font-size: 14px;"></i>
<span>Content Types</span>
<span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
</a>
<ul class="treeview-menu">
<li class="nav-withdraw-money"><a href="">Create Content</a></li>
<li class="nav-payouts"><a href="">HashBrand</a></li>
<li class="nav-payouts"><a href="">RSS</a></li>
<li class="nav-payouts"><a href="">Bible</a></li>
<li class="nav-payouts"><a href="">Quotes</a></li>
<li class="nav-payouts"><a href="">Facts</a></li>
<li class="nav-payouts"><a href="">Import Data</a></li>
</ul>
</li>-->
<li class="header">Designer Menu</li>
<li class="nav-add-product">
<a href="https://www.thebrand.ai/i/account/add-design">
<i class="fa fa-file"></i>
<span>Add Design</span>
</a>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-shopping-cart"></i>
<span>Sales</span>
<span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
</a>
<ul class="treeview-menu">
<li class="nav-sales"><a href="https://www.thebrand.ai/i/account/sales">Active Sales</a></li>
<li class="nav-completed-sales"><a href="https://www.thebrand.ai/i/account/completed-sales">Completed Sales</a></li>
</ul>
</li>
<li class="nav-shop-settings">
<a href="https://www.thebrand.ai/i/account/shop-settings">
<i class="fa fa-cog"></i>
<span>Design Shop Settings</span>
</a>
</li>
<li class="nav-reviews">
<a href="https://www.thebrand.ai/i/account/reviews">
<i class="fa fa-star"></i>
<span>Reviews</span>
</a>
</li>
<li class="nav-earnings">
<a href="https://www.thebrand.ai/i/account/earnings">
<i class="fa fa-money"></i>
<span>Earnings</span>
</a>
</li>
<li class="treeview">
<a href="#">
<i class="fa fa-credit-card-alt" style="font-size: 14px;"></i>
<span>Payouts</span>
<span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
</a>
<ul class="treeview-menu">
<li class="nav-withdraw-money"><a href="https://www.thebrand.ai/i/account/withdraw-money">Withdraw Money</a></li>
<li class="nav-payouts"><a href="https://www.thebrand.ai/i/account/payouts">Payouts</a></li>
<li class="nav-set-payout-account"><a href="https://www.thebrand.ai/i/account/set-payout-account">Set Payout Account</a></li>
</ul>
</li>
<li class="header">Payments</li>
<li class="treeview">
<a href="#">
<i class="fa fa-credit-card"></i>
<span>Subscription</span>
<span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
</a>
<ul class="treeview-menu">
<li class="nav-payment-history"><a href="https://www.thebrand.ai/i/account/subscription_plan?payment=membership">My Subscription Plan</a></li>
<li class="nav-payment-history"><a href="https://www.thebrand.ai/i/account/payment-history?payment=membership">Subscription Payments</a></li>
<li class="nav-payment-history"><a href="https://www.thebrand.ai/i/account/payment-history?payment=promotion">Promotion Payments</a></li>
</ul>
</li>
<!-- <li class="nav-shipping-settings">
<a href="">
<i class="fa fa-truck"></i>
<span></span>
</a>
</li>-->
</ul>
</div>
</section>
<!-- /.sidebar -->
</aside>
<!-- Left side column. contains the logo and sidebar -->
<!-- <aside style="margin-left: 200px" class="main-sidebar"></aside>-->
<style>
.nav-home > a{color: #2C344C !important; background-color:#F7F8FC;} </style>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Main content -->
<section class="content" style="">
<script src="https://www.thebrand.ai/i/assets/admin/vendor/chart/chart.min.js"></script>
<script src="https://www.thebrand.ai/i/assets/admin/vendor/chart/utils.js"></script>
<script src="https://www.thebrand.ai/i/assets/admin/vendor/chart/analyser.js"></script>
<div class="row">
<?php
if (version_compare(phpversion(), '5.3.0', '<') === true) {
echo
'<div style="background-color:#fff;margin:10px;font:13px/20px normal Helvetica, Arial, sans-serif;color:#4F5155;border:1px solid #990000;">
<h1 style="color:#fff;background-color:#e74c3c;border-bottom:1px solid #D0D0D0;font-size:19px;font-weight:normal;margin:0 0 14px 0;padding:14px 15px 10px 15px;">Oops, it looks like you have an invalid PHP version.</h1>
<p style="margin:12px 15px 12px 15px;">The Brand Engine supports PHP 5.3.0 or newer.</p>
</div>';
exit;
}
/*
*---------------------------------------------------------------
* SYSTEM FOLDER NAME
*---------------------------------------------------------------
*
* This variable must contain the name of your "system" folder.
* Include the path if the folder is not in the same directory
* as this file.
*
*/
$system_path = 'brandEngine/brandSystem';
/*
*---------------------------------------------------------------
* APPLICATION FOLDER NAME
*---------------------------------------------------------------
*
* If you want this front controller to use a different "application"
* folder then the default one you can set its name here. The folder
* can also be renamed or relocated anywhere on your server. If
* you do, use a full server path. For more info please see the user guide:
* http://codeigniter.com/user_guide/general/managing_apps.html
*
* NO TRAILING SLASH!
*
*/
$application_folder = 'brandEngine/brandApplication';
/*
* --------------------------------------------------------------------
* DEFAULT CONTROLLER
* --------------------------------------------------------------------
*
* Normally you will set your default controller in the routes.php file.
* You can, however, force a custom routing by hard-coding a
* specific controller class/function here. For most applications, you
* WILL NOT set your routing here, but it's an option for those
* special instances where you might want to override the standard
* routing in a specific front controller that shares a common CI installation.
*
* IMPORTANT: If you set the routing here, NO OTHER controller will be
* callable. In essence, this preference limits your application to ONE
* specific controller. Leave the function name blank if you need
* to call functions dynamically via the URI.
*
* Un-comment the $routing array below to use this feature
*
*/
// The directory name, relative to the "controllers" folder. Leave blank
// if your controller is not in a sub-folder within the "controllers" folder
// $routing['directory'] = '';
// The controller class file name. Example: Mycontroller
// $routing['controller'] = '';
// The controller function you wish to be called.
// $routing['function'] = '';
/*
* -------------------------------------------------------------------
* CUSTOM CONFIG VALUES
* -------------------------------------------------------------------
*
* The $assign_to_config array below will be passed dynamically to the
* config class when initialized. This allows you to set custom config
* items or override any default config values found in the config.php file.
* This can be handy as it permits you to share one application between
* multiple front controller files, with each file containing different
* config values.
*
* Un-comment the $assign_to_config array below to use this feature
*
*/
// $assign_to_config['name_of_config_item'] = 'value of config item';
// --------------------------------------------------------------------
// END OF USER CONFIGURABLE SETTINGS. DO NOT EDIT BELOW THIS LINE
// --------------------------------------------------------------------
/*
* ---------------------------------------------------------------
* Resolve the system path for increased reliability
* ---------------------------------------------------------------
*/
// Set the current directory correctly for CLI requests
if (defined('STDIN')) {
chdir(dirname(__FILE__));
}
if (realpath($system_path) !== FALSE) {
$system_path = realpath($system_path) . '/';
}
// ensure there's a trailing slash
$system_path = rtrim($system_path, '/') . '/';
// Is the system path correct?
if (!is_dir($system_path)) {
exit("Your system folder path does not appear to be set correctly. Please open the following file and correct this: " . pathinfo(__FILE__, PATHINFO_BASENAME));
}
/*
* -------------------------------------------------------------------
* Now that we know the path, set the main path constants
* -------------------------------------------------------------------
*/
// The name of THIS file
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
// The PHP file extension
// this global constant is deprecated.
define('EXT', '.php');
// Path to the system folder
define('BASEPATH', str_replace("\\", "/", $system_path));
// Path to the front controller (this file)
define('FCPATH', str_replace(SELF, '', __FILE__));
// Name of the "system folder"
define('SYSDIR', trim(strrchr(trim(BASEPATH, '/'), '/'), '/'));
// The path to the "application" folder
if (is_dir($application_folder)) {
define('APPPATH', $application_folder . '/');
} else {
if (!is_dir(BASEPATH . $application_folder . '/')) {
exit("Your application folder path does not appear to be set correctly. Please open the following file and correct this: " . SELF);
}
define('APPPATH', BASEPATH . $application_folder . '/');
}
// Include dev configs
if (file_exists(APPPATH . 'config/dev.php')) {
include APPPATH . 'config/dev.php';
}
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
* current environment. Setting the environment also influences
* things like logging and error reporting.
*
* This can be set to anything, but default usage is:
*
* development
* testing
* production
*
* NOTE: If you change these, also change the error_reporting() code below
*
*/
if (!file_exists(APPPATH . 'config/config.php') || !file_exists(APPPATH . 'config/database.php')) {
define('ENVIRONMENT', 'install');
} else {
define('ENVIRONMENT', defined('RS_CI_DEV_MODE') && RS_CI_DEV_MODE ? 'development' : 'production');
}
// Sets the Plugin into demo mode
define('BRAND_DEMO', false);
/*
*---------------------------------------------------------------
* ERROR REPORTING
*---------------------------------------------------------------
*
* Different environments will require different levels of error reporting.
* By default development will show errors but testing and live will hide them.
*/
if (defined('ENVIRONMENT')) {
switch (ENVIRONMENT) {
case 'development':
case 'install':
error_reporting(E_ALL);
break;
case 'testing':
case 'production':
error_reporting(0);
break;
default:
exit('The application environment is not set correctly.');
}
}
umask(0);
set_time_limit(300);
/*
* --------------------------------------------------------------------
* LOAD THE BOOTSTRAP FILE
* --------------------------------------------------------------------
*
* And away we go...
*
*/
require_once BASEPATH . 'core/CodeIgniter.php';
/* End of file index.php */
/* Location: ./index.php */
?>
<form id="engineX">
<input type='hidden' id='myaccountX' value="<?php echo $_COOKIE['euserid']; ?>"/>
<input type='hidden' id='AppNoX' value=""/>
<input
type='hidden' id='showPic' value="0"/> <input type='hidden' id='meX' value="<?php echo $_COOKIE['euserid']; ?>"/>
<input type='hidden' id='youX' value="<?php echo $_COOKIE['euserid']; ?>"/><input type='hidden' id='pichaX'
value=""/>
<input type='hidden' id='pager' value="0"/>
<input type='hidden' id='hastheme' value="0"/>
</form>
</section>
<!-- /.content -->
</div>
</div>
<!-- ./wrapper -->
<!-- jQuery UI 1.11.4 -->
<script src="https://www.thebrand.ai/i/assets/admin/js/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
$.widget.bridge('uibutton', $.ui.button);
var thousands_separator = ".";
</script>
<!-- Bootstrap 3.3.7 -->
<script src="https://www.thebrand.ai/i/assets/admin/vendor/bootstrap/js/bootstrap.min.js"></script>
<!-- DataTables js -->
<script src="https://www.thebrand.ai/i/assets/admin/vendor/datatables/jquery.dataTables.min.js"></script>
<script src="https://www.thebrand.ai/i/assets/admin/vendor/datatables/dataTables.bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="https://www.thebrand.ai/i/assets/admin/js/adminlte.min.js"></script>
<!-- iCheck js -->
<script src="https://www.thebrand.ai/i/assets/admin/vendor/icheck/icheck.min.js"></script>
<!-- Pace -->
<script src="https://www.thebrand.ai/i/assets/admin/vendor/pace/pace.min.js"></script>
<!-- Tagsinput js -->
<script src="https://www.thebrand.ai/i/assets/admin/vendor/tagsinput/jquery.tagsinput.min.js"></script>
<!-- Plugins JS-->
<script src="https://www.thebrand.ai/i/assets/admin/js/plugins-1.8.js"></script>
<script src="https://www.thebrand.ai/i/assets/admin/vendor/magnific-popup/jquery.magnific-popup.min.js"></script>
<!-- Custom js -->
<script src="https://www.thebrand.ai/i/assets/admin/js/main-1.8.js"></script>
<script src="https://www.thebrand.ai/i/assets/admin/js/dashboard-1.8.js"></script>
<!--tinyMCE-->
<script src="https://www.thebrand.ai/i/assets/vendor/tinymce/jquery.tinymce.min.js"></script>
<script src="https://www.thebrand.ai/i/assets/vendor/tinymce/tinymce.min.js"></script>
<script src="https://www.thebrand.ai/i/assets/vendor/file-manager/file-manager.js"></script>
<script>
//datatable
$(document).ready(function () {
$('.dataTable').DataTable({
"order": [[0, "desc"]],
"aLengthMenu": [[15, 30, 60, 100], [15, 30, 60, 100, "All"]],
"language": {
"lengthMenu": "Show _MENU_",
"search": "Search:",
"zeroRecords": "No records found!"
},
"infoCallback": function (settings, start, end, max, total, pre) {
return total > 0 ? "Number of Entries: " + total : '';
}
});
$('.dataTableNoSort').DataTable({
"ordering": false,
"aLengthMenu": [[15, 30, 60, 100], [15, 30, 60, 100, "All"]],
"language": {
"lengthMenu": "Show _MENU_",
"search": "Search:",
"zeroRecords": "No records found!"
},
"infoCallback": function (settings, start, end, max, total, pre) {
return total > 0 ? "Number of Entries: " + total : '';
}
});
});
//text editor
function init_tinymce(selector, min_height) {
var menu_bar = 'file edit view insert format tools table help';
if (selector == '.tinyMCEsmall') {
menu_bar = false;
}
tinymce.init({
selector: selector,
min_height: min_height,
valid_elements: '*[*]',
relative_urls: false,
remove_script_host: false,
directionality: directionality,
entity_encoding: "raw",
language: 'en',
menubar: menu_bar,
plugins: [
"advlist autolink lists link image charmap print preview anchor",
"searchreplace visualblocks code codesample fullscreen",
"insertdatetime media table paste imagetools"
],
toolbar: 'fullscreen code preview | bold italic underline strikethrough | fontsizeselect formatselect | alignleft aligncenter alignright alignjustify | numlist bullist | forecolor backcolor removeformat | table image media link | outdent indent superscript subscript',
content_css: ['https://www.thebrand.ai/i/assets/vendor/tinymce/editor_content.css'],
});
tinymce.DOM.loadCSS('https://www.thebrand.ai/i/assets/vendor/tinymce/editor_ui.css');
}
if ($('.tinyMCE').length > 0) {
init_tinymce('.tinyMCE', 500);
}
if ($('.tinyMCEsmall').length > 0) {
init_tinymce('.tinyMCEsmall', 300);
}
</script>
<script>
var txt_processing = "Processing...";
var sweetalert_ok = "OK";
var sweetalert_cancel = "Cancel";
var txt_no_results_found = "No Results Found";
</script>
<script>
document.getElementById('clickid').click();
</script>
</body>
</html>