Ejemplo n.º 1
0
 public function applet($conf, &$opts)
 {
     $recordset = "quick_search";
     $theme = $this->init_module('Base/Theme');
     $form = $this->init_module('Libs/QuickForm');
     $txtQuery = 'query_text';
     $txtLabel = 'query_label';
     $btnQuery = 'query_button';
     $id = $conf['criteria'];
     $searchPrompt = Applets_QuickSearchCommon::getSearchPromptById($id);
     $conf['a_title'] = $conf['a_title'] == "Quick Search" ? Applets_QuickSearchCommon::getPresetNameById($id) : $conf['a_title'];
     $placeholder = $searchPrompt == "" ? "" : $searchPrompt;
     $opts['title'] = $conf['a_title'];
     $opts['go'] = false;
     load_css('modules/Applets/QuickSearch/theme/quick_form.css');
     load_js('modules/Applets/QuickSearch/js/quicksearch.js');
     //$js ='setDelayOnSearch()';
     //eval_js($js);
     $txt = $form->addElement('text', $txtQuery, __('Search'));
     $txt->setAttribute('id', $txtQuery . "_" . $id);
     $txt->setAttribute('class', 'QuickSearch_text');
     $txt->setAttribute('onkeypress', 'setDelayOnSearch(\'' . $id . '\')');
     $txt->setAttribute('placeholder', _V($placeholder));
     $theme->assign($txtLabel, __('Search'));
     $theme->assign($txtQuery, $txt->toHtml());
     $theme->assign('search_id', $conf['criteria']);
     $theme->display('quick_form');
     return true;
 }
Ejemplo n.º 2
0
    public function gerenciar_midia()
    {
        $this->load->library('table');
        //vai carregar o modulo usuarios e mostrar a tela de recuperação de senha
        set_tema('headerinc', load_css('dataTables.bootstrap.min'), FALSE);
        set_tema('headerinc', load_css('responsive.bootstrap.min'), FALSE);
        set_tema('headerinc', load_css('ionicons.min', 'css/ionicons/css'), FALSE);
        set_tema('footerinc', load_js('jquery.dataTables'), FALSE);
        set_tema('footerinc', load_js('dataTables.bootstrap.min'), FALSE);
        set_tema('footerinc', load_js('dataTables.responsive.min'), FALSE);
        set_tema('footerinc', load_js('table-manage-responsive-auditoria.min'), FALSE);
        set_tema('footerinc', load_js('tooltip'), FALSE);
        set_tema('footerinc', '<script>
		$(document).ready(function() {
			App.init();
			TableManageResponsive.init();
                        $(\'[data-toggle="tooltip"]\').tooltip();   
		});
	</script>', FALSE);
        set_tema('titulo', 'Listagem de Mídias');
        set_tema('conteudo', load_modulo('midia', 'gerenciar'));
        set_tema('rodape', '');
        //vai substituir o rodape padrao
        load_template();
    }
Ejemplo n.º 3
0
 public function index()
 {
     $this->template->set_layout('sticky');
     $this->load->helper('assets');
     $this->data['css'] = load_css(array('sticky'));
     $this->set_title(SITE_NAME . " | Termos de Serviço");
     $this->site();
 }
Ejemplo n.º 4
0
 public function index()
 {
     $this->load->helper('assets');
     $this->data['css'] = load_css(array('datatables-bootstrap'));
     $this->data['js'] = load_js(array('jquery.form', 'jquery.dataTables.min', 'datatables-bootstrap', 'datatables.fnReloadAjax', 'admin/actionDatatables', 'admin/dtUsers', 'jquery.maskedinput.min', 'maskedinput', 'search_zipcode', 'jquery.validate.min', 'valid/admin/user_create', 'valid/admin/user_edit'));
     $this->set_title(SITE_NAME . " | " . "Administração" . " | " . "Usuários");
     $this->set_view('admin/users/home');
     $this->admin();
 }
Ejemplo n.º 5
0
 public function index($msg = NULL)
 {
     $this->data['msg'] = $msg;
     $this->load->helper('assets');
     $this->data['js'] = load_js(array('jquery.validate.min', 'valid/contact', 'jquery.maskedinput.min', 'maskedinput'));
     $this->data['css'] = load_css(array('main'));
     $this->set_title(SITE_NAME . " | Fale Conosco");
     $this->site();
 }
Ejemplo n.º 6
0
function init_front()
{
    $CI =& get_instance();
    $CI->load->library(array('sistema', 'session', 'form_validation', 'parser'));
    $CI->load->helper(array('form', 'url', 'array', 'text'));
    set_tema('titulo_padrao', 'Lanabello');
    set_tema('rodape', incluir_arquivo('footer', 'application'));
    set_tema('template', 'site');
    //incluir_arquivo('navegacao');
    //set_tema('navegacao',incluir_arquivo('navegacao'));
    set_tema('headerinc', load_css(array('foundation/foundation.min')), FALSE);
    set_tema('headerinc', load_css(array('front/global')), FALSE);
    set_tema('headerinc', load_js(array('jquery')), FALSE);
    set_tema('footerinc', load_js(array('foundation.min')), FALSE);
}
Ejemplo n.º 7
0
function iniciar_painel()
{
    $CI =& get_instance();
    $CI->load->library(array('sistema', 'session', 'form_validation'));
    $CI->load->helper(array('form', 'url', 'array', 'text'));
    //carregamento dos models
    $CI->load->model('usuarios_model');
    set_tema('titulo_padrao', 'Painel ADM');
    set_tema('rodape', '<p>&copy; 2015 | Todos os direitos reservados para Alencar da Costa</p>');
    set_tema('template', 'painel_view');
    set_tema('headerinc', load_css('bootstrap.min', 'css/bootstrap'), FALSE);
    set_tema('headerinc', load_css('font-awesome.min', 'css/font-awesome/css'), FALSE);
    set_tema('headerinc', load_css(array('animate.min', 'style.min', 'style-responsive.min', 'default')), FALSE);
    set_tema('headerinc', load_js(array('jquery-1.9.1.min', 'jquery-migrate-1.1.0.min'), 'js/jquery'), FALSE);
    set_tema('footerinc', load_js('jquery-ui.min', 'js/jquery-ui/ui/'), FALSE);
    set_tema('footerinc', load_js(array('bootstrap.min', 'jquery.slimscroll.min', 'apps.min')), FALSE);
}
function init_painel()
{
    $CI =& get_instance();
    $componentes = 'assets/components/bootstrap/dist/css';
    $CI->load->library(array('parser', 'sistema', 'session', 'form_validation'));
    $CI->load->helper(array('form', 'url', 'array', 'text'));
    //carregamento dos models
    $CI->load->model('usuarios_model', 'usuarios');
    set_tema('titulo_padrao', 'PORTAL');
    set_tema('rodape', '');
    set_tema('template', 'painel_view');
    //carregamento dos CSS de forma dinâmica- CSS Dinâmico
    set_tema('headerinc', load_css(array('bootstrap.min'), $componentes), FALSE);
    set_tema('headerinc', load_css(array('metisMenu.min'), 'assets/components/metisMenu/dist'), FALSE);
    set_tema('headerinc', load_css(array('app'), 'assets/css'), FALSE);
    set_tema('headerinc', load_css(array('sb-admin-2'), 'assets/dist/css'), FALSE);
    set_tema('headerinc', load_css(array('font-awesome.min'), 'assets/components/font-awesome/css'), FALSE);
    //  <script src="../sb-admin-2.js"></script>
    //carregamento dos JS de forma dinâmica- JS Dinâmico
    set_tema('footerinc', load_js(array('jquery.min'), 'assets/components/jquery/dist'), FALSE);
    set_tema('footerinc', load_js(array('bootstrap.min'), 'assets/components/bootstrap/dist/js'), FALSE);
    set_tema('footerinc', load_js(array('metisMenu.min'), 'assets/components/metisMenu/dist'), FALSE);
    set_tema('footerinc', load_js('sb-admin-2', 'assets/dist/js'), FALSE);
}
Ejemplo n.º 9
0
 protected function load_libs()
 {
     $m = $this->get_module_dir();
     load_css($m . 'bootstrap-compat.css');
     load_css($m . 'query-builder.default.css');
     load_js($m . 'query-builder.standalone.js');
     load_js($m . 'helper.js');
     $lang_code = Base_LangCommon::get_lang_code();
     if ($lang_code) {
         $lang_file = $this->get_module_dir() . 'i18n/query-builder.' . $lang_code . '.js';
         if (file_exists($lang_file)) {
             load_js($lang_file);
         }
     }
 }
Ejemplo n.º 10
0
function init_painel()
{
    $CI =& get_instance();
    $CI->load->library(array('sistema', 'session', 'form_validation'));
    $CI->load->helper(array('form', 'url', 'array', 'text'));
    $CI->load->model('usuarios_models', 'usuarios');
    set_tema('titulo_padrao', 'JDev');
    set_tema('rodape', '<footer style="
			margin-top: 1%;
	width:100%;
	text-align: center;
	color:#fff;">
			<h6>&copy Todos os direitos reservado a JDev</h6>
	</footer>');
    set_tema('template', 'painel_view');
    set_tema('css', load_css(array('bootstrap.min')), FALSE);
    set_tema('css', load_css('font-awesome.min', 'font-awesome/css'), FALSE);
    set_tema('js', load_js(array('jquery', 'bootstrap.min')), FALSE);
}
Ejemplo n.º 11
0
Archivo: Success.php Proyecto: Rgss/imp
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>页面跳转中...</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="Description" content="" />
    <meta name="Keywords" content="" />
    <meta name="Author" content="Rgss.inc">
    <meta http-equiv="refresh" content="3; url=<?php 
echo $url;
?>
" />
    <?php 
load_css('bootstrap');
load_css('style');
?>
</head>
<body>


    <div  class="main">
        
        <div style="position: relative; padding: 50px; width: 500px; height: 200px; left: 50%; top: 50%; margin-left: -300px; margin-top: 100px; background: #ddd; border: 1px solid #ccc; border-radius: 5px; ">
            <div class="title" style="text-align: center; color: green;">
                <h3><?php 
echo $msg;
?>
, 页面跳转中<span id="timer">5</span>...</h3>
            </div>
            
            <div style=" padding-top: 30px;  font-size: 17px; color: #333; text-align: center;">
Ejemplo n.º 12
0
<?php

if (verif_access("Admin")) {
    load_css('map.css', 'map');
    function get_formulaire_town($Towns = array())
    {
        global $rayon_city, $array_landing_type, $_path;
        extract(stripslashes_r($Towns));
        $_Buildings = list_db('foreign_list', array('table' => 'Caranille_Building', 'ID' => 'Building_Town_ID', 'value' => $Town_ID));
        $l_Buildings = array();
        if (!empty($_Buildings)) {
            foreach ($_Buildings as $b) {
                $x = $b['Building_PosX'];
                $y = $b['Building_PosY'];
                $l_Buildings[$x][$y] = $b;
            }
        }
        ?>
				
				<form method="POST" action="<?php 
        echo get_link("Towns", "Admin");
        ?>
">
				<table>
				<tr><td><?php 
        echo line_db("Caranille_Towns", "Town_Image", isset($Town_Image) ? $Town_Image : '');
        echo line_db("Caranille_Towns", "Town_Name", isset($Town_Name) ? $Town_Name : '');
        echo line_db("Caranille_Towns", "Town_Description", isset($Town_Description) ? $Town_Description : '');
        echo line_db("Caranille_Towns", "Town_Price_INN", isset($Town_Price_INN) ? $Town_Price_INN : '');
        echo line_db("Caranille_Towns", "Town_Chapter", isset($Town_Chapter) ? $Town_Chapter : 0);
        ?>
Ejemplo n.º 13
0
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Payroll</title>
        <link rel="stylesheet" type="text/css" href="<?php 
echo base_url();
?>
assets/application.css"/>
        <link rel="stylesheet" type="text/css" href="<?php 
echo base_url();
?>
assets/css/fullcalendar.css"/>

        <?php 
echo load_css(array("stylesheets.css", "dashboard.css", "bootstrapSwitch.css", "jquery.alerts.css", "iphone-style.css", "mcustomscrollbar/mCustomScrollbar.css", "jquery.handsontable.full.css"));
echo load_js(array("plugins/jquery/jquery-1.9.1.min.js", "plugins/jquery/jquery-ui-1.10.1.custom.min.js", "plugins/jquery/jquery-migrate-1.1.1.min.js", "plugins/jquery/globalize.js", "plugins/other/excanvas.js", "plugins/other/jquery.mousewheel.min.js", "plugins/bootstrap/bootstrap.min.js", "bootstrap-modal.js", "bootstrap-modalmanager.js", "bootstrapSwitch.js", "plugins/cookies/jquery.cookies.2.2.0.min.js", "plugins/mcustomscrollbar/jquery.mCustomScrollbar.min.js", "plugins/validationEngine/languages/jquery.validationEngine-en.js", "plugins/validationEngine/jquery.validationEngine.js", "plugins/uniform/jquery.uniform.min.js", "plugins/select/select2.min.js", "plugins/maskedinput/jquery.maskedinput-1.3.min.js", "colResizable-1.3.med.js", "jquery.alerts.js", "iphone-style-checkboxes.js", "jquery.editable-1.3.3.js", "jquery.number.min.js", "jquery.handsontable.full.js", "plugins/jquery.jstree.js", "accounting.js", "plugins.js", "actions.js", "custom.js"));
?>

        <script src="<?php 
echo base_url();
?>
assets/js/fullcalendar/fullcalendar.js" type="text/javascript"></script>
        <script src="<?php 
echo base_url();
?>
assets/js/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>                
        <link rel="stylesheet" type="text/css" href="<?php 
echo base_url();
?>
assets/docs.css"/>
Ejemplo n.º 14
0
{
    insert_db('Caranille_Classes', array('Classe_Name' => 'Tank', 'Classe_Description' => 'encaise à la place des autres'));
    insert_db('Caranille_Classes', array('Classe_Name' => 'Healer', 'Classe_Description' => 'specialisé dans le soin'));
    insert_db('Caranille_Classes', array('Classe_Name' => 'DDPT', 'Classe_Description' => 'distributeur de degats par tour'));
}
function config_race()
{
    insert_db('Caranille_Races', array('Race_Name' => 'Néphilims', 'Race_Description' => 'croisement maudits des anges et des démons'));
    insert_db('Caranille_Races', array('Race_Name' => 'Humains', 'Race_Description' => 'Rejetés du ciel et de l\'enfer, la terre est devenu leur royaume souverain'));
}
include_once 'login.php';
include_once 'news.php';
include_once 'pages.php';
include_once 'temoignages.php';
include_once 'step.php';
load_css('install.css', 'install');
if ($page == 'temoignages') {
    temoignages_exec();
}
download();
$title = "Installation";
if ($page === "Index" || $page === "index") {
    if (empty($_POST['Accept']) && empty($_POST['Create_Configuration']) && empty($_POST['Choose_Curve']) && empty($_POST['Start_Installation']) && empty($_POST['Configure']) && empty($_POST['Finish'])) {
        $baseline = '<span class="important">Installation de caranille - Etape 1/5 (License d\'utilisation)</span>';
        $span_footer = '<span class="important">Si vous n\'acceptez pas la license d\'utilisation, veuillez supprimer caranille</span>';
    }
    if (request_confirm('Accept') || request_confirm('Create_Configuration') || request_confirm('Choose_Curve') || request_confirm('step') && request_get('step') === 2) {
        $baseline = '<span class="important">Installation de caranille - Etape 2/5 (Configuration de la base de donnée)</span>';
    }
    if (request_confirm('Start_Installation') || request_confirm('step') && request_get('step') === 3) {
        $baseline = '<span class="important">Installation de caranille - Etape 3/5 (Création des tables dans la base de donnée)</span>';
Ejemplo n.º 15
0
 /**
  * Loads css file.
  * 
  * @param string module name
  * @param string css file name, 'default' by default
  * @param bool sets whether there should be an error displayed if css is not present, true by default
  * @return bool true on success, false otherwise
  */
 public static function load_css($module_name, $css_name = 'default', $trig_error = true)
 {
     if (!isset($module_name)) {
         trigger_error('Invalid argument for load_css, no module was specified.', E_USER_ERROR);
     }
     $css = self::get_template_file($module_name, $css_name . '.css');
     if ($css) {
         load_css($css, self::get_template_dir() . '__css.php');
         return true;
     } else {
         if ($trig_error) {
             trigger_error('Invalid css specified: ' . $module_name . '/' . $css_name . '.css', E_USER_ERROR);
         }
         return false;
     }
 }
Ejemplo n.º 16
0
<?php

// l'utilisateur peut ajouter un titre pour chaque module different de Caranille -Accueil
//$title ="";
$baseline = LanguageValidation::iMsg("welcome.game.order");
//"Bienvenue sur la page des ordres";
if (verif_connect()) {
    load_css('corps.css', 'corps');
    load_css('order.css', 'order');
    if (!has_order()) {
        if (request_confirm('Accept')) {
            $Order_ID = htmlspecialchars(addslashes($_POST['Order_ID']));
            update_db('Caranille_Accounts', array('Account_Order' => $Order_ID, 'Account_ID' => $ID));
            $baseline = 'Vous venez de rejoindre un ordre';
            add_diary($baseline);
            //echo '<br /><br />'.$message;
        }
    }
}
Ejemplo n.º 17
0
?>

		<link rel="canonical" href="http://www.oversign.com/" />
		<link rel="shortcut icon" href="<?php 
echo $domain . '/assets/images/logos/favicon.ico';
?>
" type="image/x-icon">
		<link rel="icon" href="<?php 
echo $domain . '/assets/images/logos/favicon.ico';
?>
" type="image/x-icon">

		<?php 
load_css(array('bootstrap/bootstrap', 'bootstrap/docs', 'custom'));
if (isset($additional_css) && !empty($additional_css)) {
    load_css($additional_css);
}
?>
	</head>
	<body>
		<?php 
loadSubview('header/menu');
if (isset($content_view)) {
    echo $content_view;
}
loadSubview('footer/footer');
echo tag('div', false, array('id' => 'myModal', 'class' => 'modal fade'));
$imageLoading = tag('span', 'Loading...', array('style' => 'width:25px; height:auto; display:block; margin: 0 12px;', 'wrapTag' => 'div', 'wrapAttributes' => array('style' => 'position:absolute; left:47%; top:45%; color:white;')));
echo tag('div', $imageLoading, array('class' => 'overlay'));
/* Load core library first, then load additional script */
load_script(array('jquery/jquery.min', 'bootstrap/bootstrap.min'));
Ejemplo n.º 18
0
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<title><?php 
echo Admin::pageTitle();
?>
 &lsaquo; <?php 
_e('admin', 'TopHat Admin');
?>
</title>

		<?php 
load_library(array('bootstrap-css', 'jquery', 'bootstrap-js'));
queue_css(TH_PUB_ADMIN . 'design/styles.css');
queue_js(TH_PUB_ADMIN . 'design/admin.js');
load_css();
load_js();
?>
	</head>

	<body class="<?php 
echo Admin::bodyClasses();
?>
">
		<div id="topnavbar" class="navbar navbar-fixed-top">
			<div class="navbar-inner">
				<div class="container">
					<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
Ejemplo n.º 19
0
    public function gerenciar()
    {
        $this->load->library('table');
        esta_logado();
        //vai carregar o modulo usuarios e mostrar a tela de recuperação de senha
        set_tema('headerinc', load_css('dataTables.bootstrap.min'), FALSE);
        set_tema('headerinc', load_css('responsive.bootstrap.min'), FALSE);
        set_tema('headerinc', load_css('ionicons.min', 'css/ionicons/css'), FALSE);
        set_tema('footerinc', load_js('jquery.dataTables'), FALSE);
        set_tema('footerinc', load_js('dataTables.bootstrap.min'), FALSE);
        set_tema('footerinc', load_js('dataTables.responsive.min'), FALSE);
        set_tema('footerinc', load_js('table-manage-responsive.demo.min'), FALSE);
        set_tema('footerinc', '<script>
		$(document).ready(function() {
			App.init();
			TableManageResponsive.init();
		});
	</script>', FALSE);
        set_tema('titulo', 'Gerenciar Usuários');
        set_tema('conteudo', load_modulo('usuarios', 'gerenciar'));
        set_tema('rodape', '');
        //vai substituir o rodape padrao
        load_template();
    }
Ejemplo n.º 20
0
" />

<title><?php 
wp_title('&laquo;', true, 'right');
?>
 <?php 
bloginfo('name');
?>
</title>


	<?php 
if (function_exists('load_css')) {
    ?>
		<?php 
    load_css(get_bloginfo('template_directory'));
    ?>
	<?php 
} else {
    ?>
		<link rel="stylesheet" type="text/css" media="screen" href="<?php 
    bloginfo('template_directory');
    ?>
/css/styles.css.php" />
	<?php 
}
?>

<?php 
if (is_singular()) {
    wp_enqueue_script('comment-reply');
Ejemplo n.º 21
0
<?php

if (verif_connect()) {
    load_css('guild.css', 'guild');
    if (has_guild()) {
        if (has_guild_acces('recrutement')) {
            if (request_confirm('guild-engage') || request_confirm('guild-refuse')) {
                if (verifier_token(60, get_link('Recrutement', 'Guild'), 'guild-candidat-' . $_POST['Account_ID'])) {
                    $Account_Query = get_db("candidat_guild_confirm", array('Guild_ID' => guild_data('Guild_ID'), 'Account_ID' => request_post('Account_ID')));
                    if (!empty($Account_Query)) {
                        if (request_confirm('guild-engage')) {
                            update_db('Caranille_Accounts', stripslashes_r($_POST));
                            $message = "Vous avez été accepté dans la guilde " . guild_data('Guild_Name') . ".";
                        } else {
                            update_db('Caranille_Accounts', array('Account_ID' => $Account_Query['Account_ID'], 'Account_Guild_ID' => 0, 'Account_Guild_Accept' => 0));
                            $message = "Votre candidature dans la guilde " . guild_data('Guild_Name') . " a été refusé.";
                        }
                        add_diary($message, $Account_Query['Account_ID']);
                        insert_db('Caranille_Private_Messages', array('Private_Message_Transmitter' => logged_data('Account_ID'), 'Private_Message_Receiver' => $Account_Query['Account_Pseudo'], 'Private_Message_Subject' => "Votre candidature dans la guilde " . guild_data('Guild_Name'), 'Private_Message_Message' => $message, 'Private_Message_Conversation' => null));
                    }
                }
            }
        }
    }
}
Ejemplo n.º 22
0
//echo "page :: $page<br/>";
$array_game_secteur = array('Game', 'Guild', 'Map', 'Shop', 'Battle', 'User');
$array_iden_secteur = array('Register', 'User');
$array_game_page = array('chat', 'craft', 'guild', 'character', 'order', 'inventory', 'map', 'town', 'world', 'questlogs', 'questboard', 'diary', 'weapon', 'accessory', 'item', 'Magic_shop', 'Temple');
$array_iden_page = array('login', 'logout', 'register');
$array_news_page = array('comments');
$array_forum_page = array('forum', 'post', 'poster', 'topic', 'main');
$already_call_menu_character = true;
$already_call_menu_town = true;
$already_call_menu_guild = true;
$already_call_menu_profil = true;
if ($secteur_module !== 'Admin' && $secteur_module !== 'Moderator') {
    if (isset($page) && $page != '') {
        if (in_array($page, $array_game_page) && in_array($secteur_module, $array_game_secteur)) {
            include_once $_path . "Sources/Map/Modules/Index.php";
            include_once path_module(verif_town() ? 'Town' : 'World', 'Map');
            load_css('map.css', 'map');
            load_css('boussole.css', 'boussole');
            load_css('infobulle.css', 'infobulle');
        }
        if (in_array($page, $array_news_page) && $secteur_module === 'Public') {
            include_once $_path . "Sources/Public/Modules/news-Index.php";
        }
    }
    if ($page == 'blog') {
        include_once path_module("Main", "Public");
    }
    // if($page == 'logout')
    // header(get_link('Main','Public'));
}
//echo "page :: $page<br/>";
Ejemplo n.º 23
0
<?
	if (!isset($erro)) {
		$erro = "";	
	}
?>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Bem-vindo ao ProjectTask</title>

	<?php 
echo load_css('style.css');
?>
</head>
<body>
	<div id="container-login">		
		<div id="login_form">
			<h4>Bem-vindo ao ProjectTask!</h4>
			<?php 
echo form_open('login/logon');
?>
		
				<p>
					Login<br/>
					<input type="text" id="username" name="username"/>
				</p>
				
				<p>
					Senha<br/>
					<input type="password" id="password" name="password"/>
Ejemplo n.º 24
0
Archivo: main.php Proyecto: p2ska/mass
	(c) 2015
*/
define("VALID", true);
require "include/functions.php";
require "include/init.php";
?>
<!DOCTYPE html>
<html>
<head>
 <meta charset="UTF-8">
 <link rel="shortcut icon" href="<?php 
echo WEBROOT;
?>
/favicon.ico"/>
 <?php 
load_css($css);
?>
 <title><?php 
echo TITLE;
?>
</title>
</head>
<body>
<div id="main">
 <div id="header"><?php 
require PATH . SLASH . "/include/header.php";
?>
</div>
 <div id="content"></div>
</div>
<?php 
Ejemplo n.º 25
0
$sp = $_SERVER['SERVER_PORT'];
$ss = $_SERVER['HTTPS'];
if ($sp == '443' || $ss == 'on' || $ss == '1') {
    $p = 's';
}
$domain = 'http' . $p . '://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
$domain = str_replace('/index.php', '', $domain);
if ($BASEURL != $domain) {
    $currentFile = $_SERVER['REQUEST_URI'];
    preg_match("/[^\\/]+\$/", $currentFile, $matches);
    $filename = "/" . $matches[0];
    header("Location: " . $BASEURL . $filename . "");
}
$time_start = get_microtime();
clearstatcache();
$style_css = load_css("main.css");
$idlang = intval($_GET["language"]);
$pageID = isset($_GET["page"]) ? $_GET["page"] : "";
$no_columns = isset($_GET["nocolumns"]) && intval($_GET["nocolumns"]) == 1 ? true : false;
//which module by cooly
if ($pageID == "modules") {
    $MID = isset($_GET["module"]) ? htmlentities($_GET["module"]) : ($MID = "");
    check_online(session_id(), $MID == "" ? "index" : $MID);
} else {
    check_online(session_id(), $pageID == "" ? "index" : $pageID);
}
require load_language("lang_main.php");
////////////////////////////ARCADE/////////////////////
$arcswitch = mysqli_query($GLOBALS["___mysqli_ston"], "SELECT status FROM {$TABLE_PREFIX}blocks WHERE content = 'arcade'");
$arcon = mysqli_fetch_array($arcswitch);
if ($arcon["status"] == '1') {
Ejemplo n.º 26
0
function load_meta()
{
    global $id, $page_title, $p, $luna_config;
    // We need these tags no matter what
    echo '<title>' . generate_page_title($page_title, $p) . '</title>' . "\n";
    echo '<meta charset="utf-8">' . "\n";
    echo '<meta http-equiv="X-UA-Compatible" content="IE=edge">' . "\n";
    echo '<meta name="viewport" content="width=device-width, initial-scale=1.0">' . "\n";
    // Allow childs
    load_css();
    if (!empty($luna_config['o_board_tags'])) {
        echo '<meta name="keywords" content="' . $luna_config['o_board_tags'] . '">' . "\n";
    }
    if (!defined('FORUM_ALLOW_INDEX')) {
        echo '<meta name="ROBOTS" content="NOINDEX, FOLLOW" />' . "\n";
    }
    if (defined('FORUM_CANONICAL_TAG_TOPIC')) {
        echo '<link rel="canonical" href="/viewtopic.php?id=' . $id . '" />' . "\n";
    }
    if (defined('FORUM_CANONICAL_TAG_FORUM')) {
        echo '<link rel="canonical" href="/viewforum.php?id=' . $id . '" />' . "\n";
    }
    // Required fields check
    required_fields();
}
Ejemplo n.º 27
0
<?php

// l'utilisateur peut ajouter un titre pour chaque module different de Caranille -Accueil
$title = "Historique";
$baseline = "vos actes passés";
load_css('corps.css', 'corps');
if (request_confirm('edit-role-play')) {
    if (verifier_token(600, get_link('diary', 'game'), "editor-role-play-" . request_post('Diary_ID'))) {
        update_db('Caranille_Diaries', array('Diary_Description' => request_post('roleplay'), 'Diary_ID' => request_post('Diary_ID')));
    }
}
if (request_confirm('remove-role-play')) {
    if (verifier_token(600, get_link('diary', 'game'), "remover-role-play-" . request_post('Diary_ID'))) {
        delete_db('Caranille_Diaries', array('Diary_ID' => request_post('Diary_ID')));
    }
}
Ejemplo n.º 28
0
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Portal da Dengue - Conexão Jovem</title>
    <?php 
echo load_css(array("foundation.min", "app"), "assets/css");
?>
    <?php 
echo load_css(array("foundation-icons"), "assets/foundation-icons");
?>
    <?php 
echo load_js(array("foundation.min"), "assets/js");
?>
    <?php 
echo load_js(array("jquery.min"), "assets/js/vendor");
?>
</head>
<body>
<div class="top-bar">
    <div class="top-bar-left">
        <ul class="menu">
            <li class="menu-text"><a href="<?php 
echo base_url("/");
?>
">Secretaria de Desenvolvimento Econômico e Trabalho</a></li>
        </ul>
    </div>
    <div class="top-bar-right">
        <ul class="menu">
            <li>
Ejemplo n.º 29
0
 * GNU Lesser General Public License Version 2.1 or later (the "LGPL")
 * CKeditor - The text editor for Internet - http://www.Ckeditor.net
 * Copyright (C) 2003-2007 Frederico Caldeira Knabben
 *
 * @author Paul Bukowski <*****@*****.**>
 * @copyright Copyright &copy; 2007, Telaxus LLC
 * @version 1.0
 * @license MIT
 * @package epesi-libs
 * @subpackage Ckeditor
 */
defined("_VALID_ACCESS") || die('Direct access forbidden');
if (!MOBILE_DEVICE && class_exists('HTML_Quickform')) {
    HTML_Quickform::registerElementType('ckeditor', 'modules/Libs/CKEditor/ckeditor.php', 'HTML_Quickform_ckeditor');
    /*	load_js('modules/Libs/CKEditor/onsubmit.js');*/
    load_css('modules/Libs/CKEditor/frontend.css');
    /*	Libs_QuickFormCommon::add_on_submit_action("if(typeof(ckeditor_onsubmit)!='undefined')ckeditor_onsubmit(this)");*/
}
class Libs_CKEditorCommon extends ModuleCommon
{
    public static function QFfield_cb(&$form, $field, $label, $mode, $default, $desc, $rb_obj, $display_callbacks)
    {
        if ($mode == 'add' || $mode == 'edit') {
            $fck = $form->addElement('ckeditor', $field, $label);
            $fck->setFCKProps('99%', '300', true);
            if ($mode == 'edit') {
                $form->setDefaults(array($field => $default));
            }
        } else {
            if (isset($display_callbacks[$desc['name']])) {
                $callback = $display_callbacks[$desc['name']];
Ejemplo n.º 30
0
<?php

load_css('forum.css', 'forum');
if (verif_connect()) {
    //Si l'utilisateur ne possède pas de Guilde
    if (has_guild()) {
        $titre = "Voir un sujet";
        //On récupère la valeur de t
        $Topic_ID = intval(request_get('t'));
        //Nombre de pages
        $numpage = request_confirm('page') ? intval(request_get('page')) : 1;
        //A partir d'ici, on va compter le nombre de messages pour n'afficher que les 15 premiers
        $query = get_db('request_guild_topic', array('topic' => $Topic_ID, 'Guild_ID' => guild_data('Guild_ID')));
        extract(stripslashes_r($query));
        //On ajoute 1 au nombre de visites de ce topic
        update_db('Caranille_Topics', array('Topic_ID' => $Topic_ID, 'Topic_Vu' => $Topic_Vu + 1));
        $Forum_ID = $Forum_ID;
        $baseline = '<i>Vous êtes ici</i> : 
			<a href="' . get_link('Main', 'Guild') . '">Index du forum</a> &raquo;
			<a href="' . get_link('Forum', 'Guild', array('f' => $Forum_ID)) . '">' . $Forum_Name . '</a> &raquo; 
			<a href="' . get_link('Topic', 'Guild', array('t' => $Topic_ID)) . '">' . $Topic_Titre . '</a>';
    }
}