removed commented code
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
/// - theoretisch sollte es bereits von der aufrufenden Datei
|
/// - theoretisch sollte es bereits von der aufrufenden Datei
|
||||||
/// eingebunden sein
|
/// eingebunden sein
|
||||||
require_once("./config.inc.php");
|
require_once("./config.inc.php");
|
||||||
// include_once("./config.inc.php");
|
|
||||||
require_once($$basePath."/config/phpcount.config.php");
|
require_once($$basePath."/config/phpcount.config.php");
|
||||||
require_once($$basePath."/config/cwsvJudo.config.php");
|
require_once($$basePath."/config/cwsvJudo.config.php");
|
||||||
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/miscAssis.php");
|
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/miscAssis.php");
|
||||||
|
|||||||
@@ -7,8 +7,6 @@ global $cwsvJudoConfig;
|
|||||||
|
|
||||||
$messages=array();
|
$messages=array();
|
||||||
|
|
||||||
//include_once($_SERVER['DOCUMENT_ROOT']."/config/db.inc");
|
|
||||||
|
|
||||||
// Datenbankverbindung herstellen
|
// Datenbankverbindung herstellen
|
||||||
// $mysqlConn = @new mysqli($db_server, $db_user, $db_password, $db_name);
|
// $mysqlConn = @new mysqli($db_server, $db_user, $db_password, $db_name);
|
||||||
$mysqlConn = @new mysqli(
|
$mysqlConn = @new mysqli(
|
||||||
@@ -146,18 +144,9 @@ $messages=array();
|
|||||||
$galDate = mb_convert_encoding($gal['datum'], 'UTF-8', 'ISO-8859-1');
|
$galDate = mb_convert_encoding($gal['datum'], 'UTF-8', 'ISO-8859-1');
|
||||||
echo(
|
echo(
|
||||||
"<tr ".((strpos( $_SERVER['ORIG_PATH_TRANSLATED'], "pages/amp" ) !== false)?(""):("onclick=\"window.document.location='".mb_convert_encoding($gal['url'], 'UTF-8', 'ISO-8859-1')."';\"")).">".
|
"<tr ".((strpos( $_SERVER['ORIG_PATH_TRANSLATED'], "pages/amp" ) !== false)?(""):("onclick=\"window.document.location='".mb_convert_encoding($gal['url'], 'UTF-8', 'ISO-8859-1')."';\"")).">".
|
||||||
// "<tr onclick=\"window.document.location='".mb_convert_encoding($gal['url'], 'UTF-8', 'ISO-8859-1')."';\">".
|
|
||||||
// "<td class=\"noWrap\">".
|
|
||||||
"<td >".
|
"<td >".
|
||||||
"<time datetime=\"".mb_convert_encoding($gal['datum'], 'UTF-8', 'ISO-8859-1')."\">".mb_convert_encoding($gal['datum'], 'UTF-8', 'ISO-8859-1')."</time>".
|
"<time datetime=\"".mb_convert_encoding($gal['datum'], 'UTF-8', 'ISO-8859-1')."\">".mb_convert_encoding($gal['datum'], 'UTF-8', 'ISO-8859-1')."</time>".
|
||||||
// "<time class=\"date-as-calendar position-pixels\" datetime=".$gal['datum'].">".
|
|
||||||
// "<span class=\"weekday\">".strftime("%A", strtotime($galDate))."</span>".
|
|
||||||
// "<span class=\"day\">".strftime("%d", strtotime($galDate))."</span>".
|
|
||||||
// "<span class=\"month\">".utf8_encode(strftime("%B", strtotime($galDate)))."</span>".
|
|
||||||
// "<span class=\"year\">".strftime("%Y", strtotime($galDate))."</span>".
|
|
||||||
// "</time>".
|
|
||||||
"</td>".
|
"</td>".
|
||||||
// "<td class=\"floatClearBoth\">".
|
|
||||||
"<td >".
|
"<td >".
|
||||||
"<a href=\"".mb_convert_encoding($gal['url'], 'UTF-8', 'ISO-8859-1')."?galId=".$gal['id']."\">"
|
"<a href=\"".mb_convert_encoding($gal['url'], 'UTF-8', 'ISO-8859-1')."?galId=".$gal['id']."\">"
|
||||||
);
|
);
|
||||||
@@ -207,7 +196,6 @@ if( is_positive_integer($aGalleryId) ){
|
|||||||
}
|
}
|
||||||
catch(PDOException $db_error){
|
catch(PDOException $db_error){
|
||||||
print "Error!: " . $db_error->getMessage() . "<br/>";
|
print "Error!: " . $db_error->getMessage() . "<br/>";
|
||||||
// echoGalTable();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
|
|||||||
Reference in New Issue
Block a user