예제 #1
0
파일: Edit.php 프로젝트: neruruguay/neru
    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,
예제 #2
0
파일: Core.php 프로젝트: neruruguay/neru
$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;