commit 6ad83aeafea7742d768f6a5dee4e4391141ab37f
parent 70910a84234449d675f4a71c5883c455b4352958
Author: MTRNord <mtrnord1@gmail.com>
Date: Mon, 1 Dec 2014 17:20:28 +0100
preparing for category function
Diffstat:
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/core/backend/admin/user/login/login.php b/core/backend/admin/user/login/login.php
@@ -22,7 +22,7 @@
var hash = shaObj1.getHash("SHA-512", "HEX");
//document.write('<br/>');
//document.write(hash);
- alert("test")
+ //alert("test")
var anfragestr = './login_handling.php?username='+username+'&token='+token+'&hash='+hash+'&ga_token='+ga_token;
self.location.href=anfragestr;
}
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -4,8 +4,8 @@
*
* This script will the post variables with the database data.
*
-* @author Marcel Radzio <info@nordgedanken.de>
-* @version 0.2 17/08/2014 19:39
+* @author Marcel Radzio <info@nordgedanken.de>
+* @version 1.0dev 1/12/2014 17:16
*/
include('../../core/config/connect.db.inc.php');
//Check if Database connection established
@@ -21,10 +21,10 @@
#$resultat->close();
}
next_id();
- function next_id(){
+ function next_id_only(){
read();
}
- function read(){
+ function read_only(){
global $id, $connection, $read, $post_id_clean;
global $post_id, $post_title, $post_text, $post_author, $post_date, $post_categrory, $post_text_short;
if ($resultat = $connection->query("SELECT * FROM posts WHERE id LIKE '$id'")) {
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -1,4 +1,11 @@
<?php
+/**
+* Jumbotron Theme for RPICMS
+*
+* @author Marcel Radzio <info@nordgedanken.de>
+* @version 1.0dev 1/12/2014 17:16
+*/
+
#######################
# flush browser cache #
#######################
@@ -153,7 +160,7 @@
";
$x = $x+1;
$id = $id+1;
- next_id();
+ next_id_only();
}
}else{
include('../../core/backend/blog/posts.php');