diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c0291d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*~ +config.inc.php diff --git a/config.inc.php~ b/config.inc.php~ deleted file mode 100644 index 25f6418..0000000 --- a/config.inc.php~ +++ /dev/null @@ -1,22 +0,0 @@ - - diff --git a/dashboard.php b/dashboard.php old mode 100644 new mode 100755 diff --git a/dashboard.php~ b/dashboard.php~ deleted file mode 100644 index e7bd699..0000000 --- a/dashboard.php~ +++ /dev/null @@ -1,62 +0,0 @@ -prepare($query); - $stmt->execute(array(':id' => $_SESSION['user_id'])); - $user = $stmt->fetchObject(); - echo 'You may make changes to your user profile below if you wish. Updates will take effect immediately on pressing "Save".'; - echo '
'; - -// end logged-in content - } - - //************************ CONTENT END ************************ - // Load footer - require_once($yaptc_inc . "footer.inc.php"); -?> diff --git a/includes/date_time.js~ b/includes/date_time.js~ deleted file mode 100644 index ba1d559..0000000 --- a/includes/date_time.js~ +++ /dev/null @@ -1,29 +0,0 @@ -function date_time(id) -{ - date = new Date; - year = date.getFullYear(); - month = date.getMonth(); - months = new Array('January', 'February', 'March', 'April', 'May', 'June', 'Jully', 'August', 'September', 'October', 'November', 'December'); - d = date.getDate(); - day = date.getDay(); - days = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'); - h = date.getHours(); - if(h<10) - { - h = "0"+h; - } - m = date.getMinutes(); - if(m<10) - { - m = "0"+m; - } - s = date.getSeconds(); - if(s<10) - { - s = "0"+s; - } - result = ''+days[day]+' '+months[month]+' '+d+' '+year+' '+h+':'+m+':'+s; - document.getElementById(id).innerHTML = result; - setTimeout('date_time("'+id+'");','1000'); - return true; -} diff --git a/includes/footer.inc.php b/includes/footer.inc.php old mode 100644 new mode 100755 index 3c86349..1dd37be --- a/includes/footer.inc.php +++ b/includes/footer.inc.php @@ -4,6 +4,6 @@ - +