[guadec-web] File added for viewing the registrations: Test2
- From: Saumya Dwivedi <saumyad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [guadec-web] File added for viewing the registrations: Test2
- Date: Sun, 6 Jul 2014 17:39:43 +0000 (UTC)
commit 04403311c682b2a7a925058333ab828fd39216c5
Author: Saumya Dwivedi <saumya zero gmail com>
Date: Sun Jul 6 23:09:28 2014 +0530
File added for viewing the registrations: Test2
guadec/access-register.php | 8 ++++----
guadec/confirm-payment.php | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/guadec/access-register.php b/guadec/access-register.php
index 5c9b3f2..8789f8c 100644
--- a/guadec/access-register.php
+++ b/guadec/access-register.php
@@ -29,7 +29,7 @@ function display_result($result){
echo "<td>"; echo $results['lunchfee']; echo "</td>";
echo "<td>"; echo $results['accomfee']; echo "</td>";
echo "<td>"; echo $results['totalfee']; echo "</td>";
- echo "<td>"; echo $results['payment_status']; echo "</td>";
+ echo "<td>"; echo $results['payment']; echo "</td>";
echo "</tr>";
}
echo "</table>";
@@ -49,12 +49,12 @@ else{
if(isset($_POST['viewtype']) && !empty($_POST['viewtype'])) {
$action = $_POST['viewtype'];
-
+ // $table_name = $wpdb->prefix .'guadec2014_registration';
switch($action) {
case 'showall' :
- $result = $wpdb->get_results('SELECT * FROM wp_guadec2014_registration', ARRAY_A);
- echo display_result($result);
+ $result = $wpdb->get_results('SELECT * FROM wp_guadec2014_registration', ARRAY_A);
+ echo display_result($result);
break;
case 'showcomplete' :
$result = $wpdb->get_results("SELECT * FROM wp_guadec2014_registration WHERE payment
= 'Completed' OR payment ='NoPayment'", ARRAY_A);
diff --git a/guadec/confirm-payment.php b/guadec/confirm-payment.php
index 6191149..3e137c2 100644
--- a/guadec/confirm-payment.php
+++ b/guadec/confirm-payment.php
@@ -211,7 +211,7 @@ if (!empty($_POST)) {
<!-- Send a confirm registration mail to the registered -->
<?php $mail = mail($email, $subject, $mailContent, $headers); ?>
<?php if($mail): ?>
- <div>"Mail sent"</div>
+ <div>"Mail sent."</div>
<?php else: ?>
<div>"Mail sending failed."</div>
<?php endif; ?>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]