From 87c6bd4c615d05dbb70b4a9cd7a83589ac44d3d3 Mon Sep 17 00:00:00 2001
From: TheShinyMelon '.$block['img_desc']." '.$block['img_desc']." '.$block['aud_desc']."
';
$img_list .= ''.$block['img_title']."
";
- $img_list .= '
'.$sort.' '.$sdir);
+ die();
+ }
+ }
+ $params = array('search' => $search);
+ $stmt = $pdo->prepare("SELECT * FROM audio WHERE aud_title LIKE CONCAT('%', :search ,'%') ORDER BY $sort $sdir;");
+ $stmt->execute($params);
+ // $stmt->debugDumpParams();
+ $data = $stmt->fetchAll();
+
+ $aud_list = '';
+ foreach ($data as $block) {
+ $aud_list .= '
';
+ echo $aud_list;
+}
diff --git a/app/db_utilities.php b/app/db_utilities.php
new file mode 100644
index 0000000..c828f77
--- /dev/null
+++ b/app/db_utilities.php
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+
+
+TOOLBAR;
+
+function showToolbar() {
+ global $toolbar;
+ echo $toolbar;
+}
diff --git a/project_files/cursor_blinking.ase b/project_files/cursor_blinking.ase
new file mode 100644
index 0000000000000000000000000000000000000000..671e76950d20116c23eac6545d9f5f37788441d8
GIT binary patch
literal 1077
zcmXqIVPJT$l!-wB2n84z85kH|Farq$0143$6a#Jh^^qBFD;JQ@0(J+`QbtBbCMG6k
zW@Z)^7FJePHa0ePc6JU94o*%^E-o%^Zf+hP9$sEvK0ZEvetrP~0YO1QAt51QVPO#w
z5m8Z5F)=Z5ad8O=2}wywDJdywX=xc58Ch9bIXO9bd3gl|1w}'.$block['aud_title']."
";
+ $aud_list .= '> chosen file type: person
+
getting to know me is futile...
listing files...> chosen file type: person
getting to know me is futile...
listing files...
$I am a human. Treat me as such. I will reciprocate.
diff --git a/public/audio.php b/public/audio.php
index 46e1987..3414e44 100755
--- a/public/audio.php
+++ b/public/audio.php
@@ -1,2 +1,35 @@
+> chosen file type: audio
+
bong');
\ No newline at end of file
+ include_once('../app/db_connector.php');
+ include_once('../app/db_utilities.php');
+
+ showToolbar();
+
+ if( isset($_POST['sel_order']) && isset($_POST['inp_search']) ) {
+ $sort = 'aud_date';
+ $sdir = 'DESC';
+
+ switch($_POST['sel_order']) {
+ case 'new':
+ break;
+ case 'old':
+ $sdir = 'ASC';
+ break;
+ case 'az':
+ $sort = 'aud_title';
+ $sdir = 'ASC';
+ break;
+ case 'za':
+ $sort = 'aud_title';
+ break;
+ default:
+ break;
+ }
+
+ get_audio($pdo, $_POST['inp_search'], $sort, $sdir);
+ }
+ else {
+ get_audio($pdo);
+ }
+?>
diff --git a/public/image.php b/public/image.php
index 3f8abda..ab0059b 100755
--- a/public/image.php
+++ b/public/image.php
@@ -1,21 +1,10 @@
listing files...> chosen file type: image
-
-
privacy policy
contact
listing files...