This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( ! defined('TS_HEADER')) exit('No se permite el acceso directo al script'); | |
/** | |
* Configuración de Smarty 4.0.0 | |
* | |
* @name smarty.config.php | |
* @package Smarty 4.0 | |
* @link https://github.com/smarty-php/smarty | |
* @author Miguel92 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Smarty plugin | |
* @package Smarty | |
* @subpackage plugins | |
*/ | |
/** | |
* Smarty fecha modifier plugin | |
* | |
* Type: modifier<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Smarty plugin | |
* @package Smarty | |
* @subpackage plugins | |
*/ | |
/** | |
* Smarty cat modifier plugin | |
* | |
* Type: modifier<br> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Smarty plugin | |
* | |
* Smarty cat modifier plugin | |
* | |
* @package Smarty | |
* @subpackage plugins | |
* Type: modifier | |
* Name: seo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"octicons": { | |
"alert":"<path d=\"M13 17.5a1 1 0 11-2 0 1 1 0 012 0zm-.25-8.25a.75.75 0 00-1.5 0v4.5a.75.75 0 001.5 0v-4.5z\"></path><path d=\"M9.836 3.244c.963-1.665 3.365-1.665 4.328 0l8.967 15.504c.963 1.667-.24 3.752-2.165 3.752H3.034c-1.926 0-3.128-2.085-2.165-3.752L9.836 3.244zm3.03.751a1 1 0 00-1.732 0L2.168 19.499A1 1 0 003.034 21h17.932a1 1 0 00.866-1.5L12.866 3.994z\"></path>", | |
"archive":"<path d=\"M2.75 2A1.75 1.75 0 001 3.75v3.5C1 8.216 1.784 9 2.75 9h18.5A1.75 1.75 0 0023 7.25v-3.5A1.75 1.75 0 0021.25 2H2.75zm18.5 1.5H2.75a.25.25 0 00-.25.25v3.5c0 .138.112.25.25.25h18.5a.25.25 0 00.25-.25v-3.5a.25.25 0 00-.25-.25z\"></path><path d=\"M2.75 10a.75.75 0 01.75.75v9.5c0 .138.112.25.25.25h16.5a.25.25 0 00.25-.25v-9.5a.75.75 0 011.5 0v9.5A1.75 1.75 0 0120.25 22H3.75A1.75 1.75 0 012 20.25v-9.5a.75.75 0 01.75-.75z\"></path><path d=\"M9.75 11.5a.75.75 0 000 1.5h4.5a.75.75 0 000-1.5h-4.5z\"></path>", | |
"arrow-both":"<path d=\"M7.78 5.97a.75.75 0 00-1.06 0l-5.25 5.25a.75.75 0 000 1.06l5.25 5.25a.75.75 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TABLE IF EXISTS `w_timezone`; | |
CREATE TABLE IF NOT EXISTS `w_timezone` ( | |
`zone_id` int(11) NOT NULL AUTO_INCREMENT, | |
`zone_timezone` varchar(50) NOT NULL DEFAULT '', | |
PRIMARY KEY (`zone_id`), | |
FULLTEXT `Zona` (`zone_timezone`) | |
) ENGINE=MyISAM CHARSET=utf8 COLLATE utf8_general_ci; | |
INSERT INTO `w_timezone` VALUES (NULL,'America/Adak'),(NULL,'America/Anchorage'),(NULL,'America/Anguilla'),(NULL,'America/Antigua'),(NULL,'America/Araguaina'),(NULL,'America/Argentina/Buenos_Aires'),(NULL,'America/Argentina/Catamarca'),(NULL,'America/Argentina/Cordoba'),(NULL,'America/Argentina/Jujuy'),(NULL,'America/Argentina/La_Rioja'),(NULL,'America/Argentina/Mendoza'),(NULL,'America/Argentina/Rio_Gallegos'),(NULL,'America/Argentina/Salta'),(NULL,'America/Argentina/San_Juan'),(NULL,'America/Argentina/San_Luis'),(NULL,'America/Argentina/Tucuman'),(NULL,'America/Argentina/Ushuaia'),(NULL,'America/Aruba'),(NULL,'America/Asuncion'),(NULL,'America/Atikokan'),(NULL,'America/Bahia'),(NULL,'America/Bahia_Banderas'),(NULL,'America/Ba |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if $tsG2FA} | |
<div class="d-flex justify-content-center align-items-center flex-column fa2_activated rounded shadow p-5 "> | |
<img src="{$tsConfig.images}/2fa.png" alt="Activado" style="margin-top:-50px"> | |
<p class="h4">Doble factor de autentificación: <span class="text-success fw-bold">Activado</span>.</p> | |
<p>Si usted quiere desactivar el doble factor de autentificación lo puede hacer sin ningún tipo de problemas, solo le tiene que dar al boton "<b>desactivar</b>" y eso sería todo</p> | |
<a href="" id="Desactivate2FA" class="btn btn-danger">Desactivar</a> | |
</div> | |
{else} | |
<div class="fs-5 m-0">Activar el 2FA <i class="d-block text-muted fs-6">Doble factor de autentificación</i></div> | |
<div class="row my-3"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if ( ! defined('TS_HEADER')) exit('No se permite el acceso directo al script'); | |
/** | |
* Controlador AJAX | |
* | |
* @name ajax.cuenta.php | |
* @author Bastión | |
*/ | |
/**********************************\ | |
* (VARIABLES POR DEFAULT) * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
En el paso 5, en vez de reemplazar por ese código, reemplazalo con este | |
<div id="ver_post"></div> | |
{if $tsAutor.user_id == $tsUser->uid} | |
<span>{$tsPost.post_body}</span> | |
{else} | |
<span> | |
{if !$tsAutor.follow AND $tsPost.p_seg == 1} | |
<div id="segv"> | |
<h1>Posts solo para Seguidores</h1> | |
<p>Para poder ver este Posts debes seguirme simplemente</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="p-2"> | |
<span class="font-weight-light d-block mb-2"> | |
<a href="javascript:cerrarBus()" class="float-right d-block text-center text-danger h3 bg-dark circle" style="width:26px;height:26px;font-size:26px;line-height:24px;" id="cerrar">×</a> | |
<b class="font-weight-normal">Se han encontrado <b>{$tsTotal}</b> resultados{if $tsWord != ''} "<b class="text-uppercase font-weight-bolder text-red"><u>{$tsWord}</u></b>"{/if} | |
</span> | |
<div class="resuS"> | |
{if $tsResultados} | |
{foreach $tsResultados item=p} | |
<div class="posts rounded shadow-4 bg-white overflow-hidden position-relative"> | |
<img onclick="location.href='{$tsConfig.url}/posts/{$p.c_seo}/{$p.post_id}/{$p.post_title|seo}.html'" class="w-100 img-fit-cover loading__lazyload" src="{$tsConfig.images}/gif-cargando-sin-fondo-8.gif" data-src="{if $p.post_portada}{$p.post_portada}{else}{$p.post_cover}{/if}" alt="{$p.post_title}"> |