removed commented code
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
/// - theoretisch sollte es bereits von der aufrufenden Datei
|
||||
/// eingebunden sein
|
||||
require_once("./config.inc.php");
|
||||
// include_once("./config.inc.php");
|
||||
require_once($$basePath."/config/phpcount.config.php");
|
||||
require_once($$basePath."/config/cwsvJudo.config.php");
|
||||
require_once($$basePath."/ressourcen/phpLib/cwsvJudo/miscAssis.php");
|
||||
@@ -162,7 +161,7 @@ $endif$
|
||||
title="Judo im Chemnitzer WSV"
|
||||
alt="Judo im Chemnitzer WSV - Logo"
|
||||
src="http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.128w.png"
|
||||
srcset=http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png 2x"
|
||||
srcset=http://cwsvjudo.bplaced.net/ressourcen/graphiken/logos/cwsvJudoLogoWappen.x256.png 2x"
|
||||
></amp-img>
|
||||
</header>
|
||||
|
||||
|
||||
@@ -7,8 +7,6 @@ global $cwsvJudoConfig;
|
||||
|
||||
$messages=array();
|
||||
|
||||
//include_once($_SERVER['DOCUMENT_ROOT']."/config/db.inc");
|
||||
|
||||
// Datenbankverbindung herstellen
|
||||
// $mysqlConn = @new mysqli($db_server, $db_user, $db_password, $db_name);
|
||||
$mysqlConn = @new mysqli(
|
||||
@@ -146,18 +144,9 @@ $messages=array();
|
||||
$galDate = mb_convert_encoding($gal['datum'], 'UTF-8', 'ISO-8859-1');
|
||||
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 onclick=\"window.document.location='".mb_convert_encoding($gal['url'], 'UTF-8', 'ISO-8859-1')."';\">".
|
||||
// "<td class=\"noWrap\">".
|
||||
"<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 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 class=\"floatClearBoth\">".
|
||||
"<td >".
|
||||
"<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){
|
||||
print "Error!: " . $db_error->getMessage() . "<br/>";
|
||||
// echoGalTable();
|
||||
}
|
||||
}
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user