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
<script type="text/javascript"> | |
function gmap<?php echo this->$mapID; ?>_dynmap(gmap<?php echo this->$mapID; ?>) { | |
var Styles = [ | |
{ | |
featureType: "poi.business", | |
stylers: [ | |
{ visibility: "off" } | |
] | |
}, |
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 | |
$this->import("Database"); | |
$strDestPath = sprintf('tl_files/news/%s/',$this->Input->get('items')); | |
// Sicherstellen, das der Pfad existiert | |
$objPath = new Folder($strDestPath); | |
$arrFiles = scan(TL_ROOT.'/'.$strDestPath); | |
$objDummy = $this->Database->prepare("SELECT id FROM tl_log")->limit(1)->execute(); |
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
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
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
<img src="system/modules/cron/CronImage.php" width="0" height="0" alt="" /> |
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 | |
$count = count($this->data); | |
// Begin of loop | |
$i++; | |
if ($i % 3 == 1) | |
{ | |
echo '<div class="row">'; |
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
<tr> | |
<td valign="top" class="<?php echo $this->class; ?>"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>> | |
<?php if(strlen($this->headline)):?> | |
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>> | |
<?php endif;?> | |
<div class="eventList"> | |
<?php $count = count($this->events); ?> | |
<?php foreach($this->events as $event): ?> | |
<div class="singleEvent"> | |
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
DELETE FROM mail_info_history | |
USING mail_info, accounts | |
WHERE | |
mail_info_history.hostname_passwd = mail_info.hostname_passwd | |
AND | |
mail_info_history.login_name = mail_info.login_name | |
AND | |
accounts.hostname_passwd = mail_info.hostname_passwd | |
AND | |
accounts.login_name = mail_info.login_name |
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
foreach ((array) $GLOBALS['TL_HOOKS']['getSystemMessages'] as $k => $arrHook) { | |
if ($arrHook[1] == 'versionCheck') { | |
unset($GLOBALS['TL_HOOKS']['getSystemMessages'][$k]); | |
} | |
} |
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
<script> | |
$(document).ready(function(){ | |
$('a[href^="#"]').on('click',function (e) { | |
e.preventDefault(); | |
var target = this.hash, | |
$target = $(target); | |
$('html, body').stop().animate({ | |
'scrollTop': $target.offset().top | |
}, 900, 'swing', function () { | |
window.location.hash = target; |
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
RewriteEngine on | |
RewriteBase / | |
# Check if this is the noredirect query string | |
RewriteCond %{QUERY_STRING} (^|&)m=0(&|$) | |
# Set a cookie, and skip the next rule | |
RewriteRule ^ - [CO=mredir:0:www.example.com] | |
RewriteCond %{HTTP:x-wap-profile} !^$ [OR] | |
RewriteCond %{HTTP:Profile} !^$ [OR] |