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 | |
$values = rex_request('VALUE'); | |
$REX_ACTION['VALUE'][13] = "|".implode ("|",$values[13])."|"; | |
$REX_ACTION['VALUE'][14] = "|".implode ("|",$values[14])."|"; | |
$sql = rex_sql::factory(); | |
$sql->setTable($REX['TABLE_PREFIX'].'article'); | |
$sql->setValue('art_tag', $REX_ACTION['VALUE'][13]); | |
$sql->setWhere('id = '.intval($REX['ARTICLE_ID'])); |
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 | |
// http://hilfe-center.1und1.de/hosting/scripte_datenbanken/datenbanken/5.html | |
global $REX; | |
$host = $REX['DB']['1']['HOST']; | |
$db = $REX['DB']['1']['NAME']; | |
$dbuser = $REX['DB']['1']['LOGIN']; | |
$dbpw = $REX['DB']['1']['PSW']; |
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 | |
/** | |
*============================================= | |
* REDAXO-Modul: do form! | |
* Bereich: Eingabe | |
* Version: 4.5 ajax | |
* Redaxo Version: 4.3 | |
* Module-id: 364 | |
* Thomas Skerbis / www.klxm.de | |
* Hinweise: |
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 | |
# Linear connection info for connecting to FTP | |
# set up basic connection | |
$ftp_server = "ftp.yourserver.com"; | |
$ftp_user = "Username"; | |
$ftp_pass = "Password"; | |
$ftp_conn = ftp_connect($ftp_server); | |
$ftp_login = ftp_login($ftp_conn, $ftp_user, $ftp_pass); |
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 | |
// ------------------------------------------------------------- | |
// The following functions are used to detextile html, a process | |
// still in development. | |
// By Tim Koschützki | |
// Based on code from www.aquarionics.com | |
// ------------------------------------------------------------- | |
class html2textile { | |
function detextile($text) { | |
$text = preg_replace("/(<\/?)(\w+)([^>]*>)/e", "'\\1'.strtolower('\\2').'\\3'", $text); |
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
/* | |
http://designshack.net/articles/css/10-less-css-examples-you-should-steal-for-your-projects/ | |
Mixin | |
*/ | |
@base: #663333; | |
@complement1: spin(@base, 180); | |
@complement2: darken(spin(@base, 180), 5%); | |
@lighten1: lighten(@base, 15%); |
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
.text-shadow (@string: 0 1px 3px rgba(0, 0, 0, 0.25)) { | |
text-shadow: @string; | |
} | |
.box-shadow (@string) { | |
-webkit-box-shadow: @string; | |
-moz-box-shadow: @string; | |
box-shadow: @string; | |
} | |
.drop-shadow (@x: 0, @y: 1px, @blur: 2px, @spread: 0, @alpha: 0.25) { | |
-webkit-box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha); |
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
ROOF_STOREY | Dachgeschoss | |
---|---|---|
LOFT | Loft | |
MAISONETTE | Maisonette | |
PENTHOUSE | Penthouse | |
TERRACED_FLAT | Terrassenwohnung | |
GROUND_FLOOR | Erdgeschosswohnung | |
APARTMENT | Etagenwohnung | |
RAISED_GROUND_FLOOR | Hochparterre | |
HALF_BASEMENT | Souterrain | |
OTHER | Sonstige |
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
/*--------------------------------------------------- | |
LESS Elements 0.9 | |
--------------------------------------------------- | |
A set of useful LESS mixins | |
More info at: http://lesselements.com | |
---------------------------------------------------*/ | |
.gradient(@color: #F5F5F5, @start: #EEE, @stop: #FFF) { | |
background: @color; | |
background: -webkit-gradient(linear, |
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 ($_SERVER['REMOTE_ADDR']=='127.0.0.1') { | |
define('WP_ENV', 'development'); | |
} else { | |
define('WP_ENV', 'production'); | |
} | |
// MySQL settings - You can get this info from your web host // | |
if (WP_ENV == 'development') { | |
define('DB_NAME', 'mydb-dev'); | |
define('DB_USER', 'root'); |
OlderNewer