removed commented code

This commit is contained in:
marko
2021-05-23 13:02:33 +02:00
parent ce6e9420bd
commit 8bce33ea51
2 changed files with 1 additions and 14 deletions

View File

@@ -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");

View File

@@ -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 "";