Example #1
0
            ?>
					<h5><?php 
            echo $table[3];
            ?>
</h5>
				</div>

				<!---//	//	//	//	//	//-->

				<div class="col-sm-3 imagen">
					<img class="img-responsive" src="<?php 
            Root($portada);
            ?>
"
					onerror="this.src = '<?php 
            Root('images/sys/imgnf.jpg');
            ?>
'">
				</div>

				<div class="col-sm-9 parrafo">
					<?php 
            #2 -> body
            if (strlen($table[2]) <= 138) {
                echo $table[2];
            } else {
                echo substr($table[2], 0, 138) . '...';
            }
            ?>
				</div>
			</div>
        <title><?php 
echo L('m_title');
?>
</title>
        <link rel="icon" href="<?php 
echo Root('favicon.ico');
?>
" type="image/x-icon" />
        <link rel="shortcut icon" href="<?php 
echo Root('favicon.ico');
?>
" type="image/x-icon" />
        <meta http-equiv="cleartype" content="on">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="stylesheet" type="text/css" href="<?php 
echo Root('i/css/dev/funcs.less');
?>
" />
        <?php 
IncludeCom('dev/bootstrap3');
?>
        <!-- extraPacker -->
        <meta name="robots" content="noindex, nofollow">
    </head>
    <body>
        <?php 
IncludeCom('admin/admin_menu', array('menu' => $menu, 'logo' => $logo));
?>
        <div class="container">
            <div class="row">
                <div class="col-xs-12">
Example #3
0
					onclick="location.href='<?php 
#codigo php
?>
'">
					<h4>Título de la publicación</h4>
				</div>

				<div class="col-sm-6 fecha2">
					<h5>dd/mm/aa</h5>
				</div>

				<!---//	//	//	//	//	//-->

				<div class="col-sm-3 imagen">
					<img class="img-responsive" src="<?php 
Root('images/sys/imagen.png');
?>
">
				</div>

				<div class="col-sm-9 parrafo">
					Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporincididunt 
					ut labore et dolore magna aliqua adipiscing elit. (max=138)
				</div>

				<div class="col-sm-12 editar">
					<a href="<?php 
#codigo php
?>
">
						<h5>Editar</h5>
Example #4
0
<?php

session_start();
$TITLE = 'CMS - Configuración';
$PAGE_CSS = true;
$GLOBAL = true;
$BOOTSTRAP = true;
$JQUERY = true;
$INCL = array('myconnection.php');
include "../include/essentials.php";
?>

<link rel="stylesheet" type="text/css" href="<?php 
Root('css/setting.css');
?>
">

<div class="col-sm-12">
	<h3>Configuración</h3>

	<div id="contenedorSetting" class="col-sm-12">
		<div class="col-sm-12 contenedorCampo">
			<div class="col-sm-4">
				Nombre de usuario:
			</div>

			<div class="col-sm-4">
				<input class="form-control" type="text" name="usuario" placeholder="Usuario">
			</div>

			<div id="noCambia" class="col-sm-4">
Example #5
0
    <?php 
IncludeCom('dev/jquery');
?>
    <head>
        <link rel="stylesheet" type="less/css" href="<?php 
echo Root('i/css/dev/msg.less');
?>
" />
        <script type="text/javascript" src="<?php 
echo Root('i/js/dev/msg.js');
?>
"></script>
    </head>


    <div class="<?php 
echo $css;
?>
"><?php 
echo $message;
?>
</div>
Example #6
0
    <!-- Вот так в микроне можно подключать css и js в общий сборщик именно с этой страницы -->
    <head>
        <link rel="stylesheet" type="less/css" href="<?php 
echo Root('i/css/home.less');
?>
" />
    </head>


    <div class="home-block">
        <h1><?php 
echo $g_lang['welcome'];
?>
</h1> <!-- Данная строка написана только в языковом файле дефолтного языка -->
        <p><?php 
echo $g_lang['message'];
?>
</p> <!-- Эта строчка из языкого файла данного компонента -->
        <small><?php 
echo sprintf($g_lang['build'], $buildDate);
?>
</small>
    </div>
Example #7
0
    <head>
        <script type="text/javascript" src="<?php 
echo Root('i/js/dev/jquery-2.0.3.js');
?>
"></script>
        <script type="text/javascript" src="<?php 
echo Root('i/js/dev/jquery.browser.js');
?>
"></script>
    </head>
    <?php 
IncludeCom('dev/bootstrap3');
?>
    <head>
        <link rel="stylesheet" type="text/css" href="<?php 
echo Root('i/css/admin/admin_menu.css');
?>
" />
    </head>


    <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation" id="admin-menu">
        <div class="container">

            <!-- Логотип и кнопка открытия меню сгруппированы для лучшего отображения на мобильных устройствах -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-menu-collapse">
                    <span class="sr-only">Меню</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <?php 
if (!empty($logo)) {
    ?>
                    <a class="navbar-brand" href="<?php 
    echo $logo['href'];
    ?>
"><?php 
    echo $logo['logo'];
    ?>
Example #9
0
" dir="ltr">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=<?php 
echo $g_config['charset'];
?>
" />
        <title><?php 
echo L('m_title');
?>
</title>
        <link rel="icon" href="<?php 
echo Root('favicon.ico');
?>
" type="image/x-icon" />
        <link rel="shortcut icon" href="<?php 
echo Root('favicon.ico');
?>
" type="image/x-icon" />
        <meta http-equiv="cleartype" content="on">
    </head>
    <body>
        <h1><?php 
echo L('head');
?>
</h1>
        <p><?php 
echo L('message');
?>
</p>
    </body>
</html>
Example #10
0
<?php

session_start();
$TITLE = 'CMS - Comentario';
$PAGE_CSS = true;
$GLOBAL = true;
$BOOTSTRAP = true;
$JQUERY = true;
$INCL = array('myconnection.php');
include "include/essentials.php";
?>

<link rel="stylesheet" href="css/comment.css">

<script type="text/javascript" src="<?php 
Root('js/scriptComment.js');
?>
"></script>

<div id="contenedorComment" class="col-sm-12">
	<div id="contenedorIzquierdo" class="col-sm-3">
		<div class="form-group">
			<span id="divBuscar">
				<label>Buscar:</label>
				<input id="inputBuscar" class="form-control" type="text" name="buscar">
				
				<br>
				
				<label>
					<input type="radio" name="tipo" value="publicacion" checked="checked">
					Publicación
Example #11
0
echo Root('favicon.ico');
?>
" type="image/x-icon" />

        <meta http-equiv="cleartype" content="on">

        <link rel="stylesheet" type="text/css" href="<?php 
echo Root('i/css/normalize.css');
?>
" />
        <link rel="stylesheet" type="less/css" href="<?php 
echo Root('i/css/dev/funcs.less');
?>
" />
        <link rel="stylesheet" type="less/css" href="<?php 
echo Root('i/css/main.less');
?>
" />

        <!-- Следущая строчка нужна для обозначения места вставки объеденённых css/js файлов. Её не следует удалять.-->
        <!-- extraPacker -->

        <?php 
IncludeCom('dev/jquery');
?>
    </head>
    <body>
        <?php 
echo $content;
?>
    </body>
Example #12
0
            if ($resp == -1) {
                $msg = 'Usuario/clave incorrecta';
            } else {
                $_SESSION['usr'] = $usr;
                $_SESSION['id'] = $resp;
                $_SESSION['name'] = ucfirst($user);
                header('Location: dashboard.php');
            }
        }
    }
    $conex->close();
}
?>

<link rel="stylesheet" href="<?php 
Root('css/login.css');
?>
">
<form id="form1" method="post"></form>

<div class="col-sm-12">
	
	<h3>Login</h3>
	
	<br>
	
	<?php 
if (isset($msg)) {
    ?>
		<div class="alert alert-danger col-sm-4 col-sm-offset-4">
			<b>Error:</b> <?php 
Example #13
0
				</div>

				<div class="col-sm-9 parrafo">
					<?php 
            #2 -> body
            if (strlen($table[2]) <= 138) {
                echo $table[2];
            } else {
                echo substr($table[2], 0, 138) . '...';
            }
            ?>
				</div>

				<div class="col-sm-12 editar">
					<a href="<?php 
            Root('admin/newpost.php?id=' . $table[0]);
            ?>
">
						<h5>Editar</h5>
					</a>
				</div>
			</div>

		<?php 
            unset($portada);
        }
    }
    echo isset($cont) && $cont === 0 ? '<span style="display:block;text-align:center">
				No hay informacion para mostrar!
				</span>' : '';
} else {
Example #14
0
function self_url($path)
{
    $plugin = self_id($path);
    return Root() . "/plugins/" . $plugin . "/";
}
Example #15
0
            echo $table[0];
            ?>
'>Comentar</a>
						</h5>
					</div>
				</div>
				
				<div class="col-sm-3 contenedorFoto">
					<!--El link de esta foto es temporal, es solo pare representar
					que en este div debe de haber una imagen.-->
					<img class="img-responsive foto" src="<?php 
            Root($portada);
            ?>
"
					 onerror='this.src="<?php 
            Root("images/sys/imgnf.jpg");
            ?>
"'>
				</div>
				
				<div class="col-sm-9 contenedorParrafo">

				<?php 
            #2 -> body
            ?>
				<?php 
            if (strlen($table[2]) > 450) {
                echo substr($table[2], 0, 450);
            } else {
                echo $table[2];
            }
Example #16
0
    <head>
        <link rel="stylesheet" type="text/css" href="<?php 
echo Root('i/css/page_status_label.css');
?>
" />
    </head>


    <h1><?php 
echo $g_lang['head'];
?>
</h1>
    <span class="page-status-label">404</span>
    <?php 
echo $g_lang['message'];
    <?php 
IncludeCom('dev/bootstrap3');
?>
    <head>
        <link rel="stylesheet" type="text/css" href="<?php 
echo Root('i/css/dev/bootstrap3_menu.css');
?>
" />
    </head>


    <nav class="navbar navbar-inverse navbar-fixed-top" id="menu" role="navigation">
        <div class="container">

            <!-- Логотип и кнопка открытия меню сгруппированы для лучшего отображения на мобильных устройствах -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-menu-collapse">
                    <span class="sr-only"><?php 
echo $g_lang['menu'];
?>
</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <?php 
if (!empty($logo)) {
    ?>
                    <a id="logo" class="navbar-brand" href="<?php 
    echo $logo['href'];
    ?>
Example #18
0
        function DebugPanel_ShowHidePanel()
        {
            DebugPanel_Toggle('i-debug-panel-all-panels');
            DebugPanel_Toggle('i-debug-panel-list');
            DebugPanel_Toggle('i-show-profile');
        }

        function DebugPanel_ShowExtensionFuncs(id)
        {
            var e = document.getElementById(id);
            document.getElementById('i-ext-show').innerHTML = e.innerHTML;
        }
    </script>
    <link rel="stylesheet" type="text/css" href="<?php 
echo Root('i/css/dev/debug_panel.css');
?>
" />


    <div style="clear: both"></div>
    <div id="i-debug-panel">
        <span class="icon show-profile" id="i-show-profile" onclick="DebugPanel_ShowHidePanel()"></span>

        <ul id="i-debug-panel-list" style="display: none">
            <li class="show-hide-elem">
                <span class="icon hide-profile" onclick="DebugPanel_ShowHidePanel()"></span>
            </li>
            <li>
                <span class="icon time"></span>
                <?php 
Example #19
0
    if (isset($_FILES['foto']) && $_FILES['foto']['error'] == 0) {
        $foto = $_FILES['foto'];
        mkdir("../images/users/{$_SESSION['id']}");
        move_uploaded_file($foto['tmp_name'], "../images/users/{$_SESSION['id']}/{$idPost}.png");
    }
}
?>

<link rel="stylesheet" href="../css/newpost.css">

<script type="text/javascript" src="<?php 
Root('js/scriptNewpost.js');
?>
"></script>
<script type="text/javascript" src="<?php 
Root('js/ckeditor/ckeditor.js');
?>
"></script>

<div class="col-sm-12">
	<h3>Crear nueva publicación</h3>
	<br>
</div>

<div id="contenedorNewpost">
	<div id="contenidoNewpost" class="col-sm-12">
		<form action="newpost.php" enctype="multipart/form-data" method="post">
			<div id="contenedorIzquierdo" class="col-sm-8">
				<div clas="form-group">
					<label >Título de la publicación:</label>
					<input id="titulo" class="form-control" type="text" name="titulo">