Exemple #1
0
    foreach ($Lenguage_Menu_query as $Lenguage_Menu_Item) {
        echo '<tr>
							<td>' . utf8_encode($Lenguage_Menu_Item->LanguageName) . '</td>
							<td>' . $Lenguage_Menu_Item->Prefix . '</td>
							<td><a href="' . \SUBSITE . $Lenguage_Menu_Item->URL . '">' . $Lenguage_Menu_Item->URL . '</a></td>
							<td>' . languageActiveOnOff($Lenguage_Menu_Item->Hidden, $Lenguage_Menu_Item->ID) . '</td>
						  </tr>';
    }
    ?>
                </table>
            </div>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
        <?php 
    echo \CmsDev\Language\AdminGlosary::getTableEdit();
    ?>
    </div>
    <?php 
    echo \SKT_ADMIN_AdminWraperClose;
    ?>
 

    <script type="text/javascript">
        $("#dialog").dialog("destroy");
        $("#dialog-form-Administrator").dialog({
            autoOpen: true,
            height: 1000,
            width: '90%',
            maxWidth: 990,
            modal: true,
Exemple #2
0
$SKT_ValidateType = 0;
$isPage = FALSE;
$isHome = FALSE;
$isvalid = FALSE;
$isfile = TRUE;
$SKTAJAX = FALSE;
\define('RAND_GLOBAL_INSTANCE', \md5(\rand(5, 9999999) . \microtime()));
global $SKT;
require_once 'AutoLoad.php';
require_once 'util/functions.php';
spl_autoload_register('Autoloader::autoload');
$SKTDB = \CmsDev\Sql\db_Skt::connect();
include dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . "_TemplateSite" . DIRECTORY_SEPARATOR . \SKT_TEMPLATE . DIRECTORY_SEPARATOR . "Config.php";
define('SKT_ThisLaguage', CmsDev\Language\CheckLanguage::get());
\CmsDev\Language\AdminGlosary::UpdateFromFile();
\CmsDev\Language\AdminGlosary::get();
\CmsDev\Language\SiteGlosary::UpdateFromFile();
\CmsDev\Language\SiteGlosary::get();
\CmsDev\Init\definedParams::get();
$SectionValues = \CmsDev\Content\Section::get();
if (isset($_GET['SKTGoTo']) || isset($_GET['SKTFiles']) || isset($_GET['SKTDir']) || isset($_GET['SKTFiles']) || isset($_GET['SKTFSys']) || isset($_GET['SKT_HELP'])) {
    $isvalid = TRUE;
    $SKTAJAX = TRUE;
    $isfile = FALSE;
}
$RequireInit = FALSE;
if ($SectionValues->URLName != '') {
    $isvalid = TRUE;
    $SKTAJAX = FALSE;
    $isPage = TRUE;
    $isfile = FALSE;