Added printable materials and online button, all in Finnish for now.

svn path=/trunk/; revision=24063
This commit is contained in:
otto 2012-08-21 21:10:05 +00:00
parent b8b4716be8
commit 442653f5fe
5 changed files with 3 additions and 7 deletions

BIN
support/button.fi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

BIN
support/printable.fi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
support/qrcode.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

View File

@ -1,5 +1,5 @@
<pre>
Sending reminders to supporters whos e-mail is still unconfirmed...
Sending reminders to supporters who's e-mail is still unconfirmed...
<?php
/*
ini_set( "display_errors","1" );
@ -16,15 +16,11 @@ catch(PDOException $e) {
print 'Error while connecting to Database: '.$e->getMessage();
}
$query = $db->query("alter table t1 add column reminder1 DATETIME");
$query = $db->query("alter table t1 add column reminder2 DATETIME");
$query = $db->query("alter table t1 add column reminder3 DATETIME");
// get all unconfirmed rows
try {
$query = $db->prepare("SELECT * FROM t1 where confirmed=''
AND time >= '".date('Y-m-d', time()-60*60*24*2)."'"); // restrict to rows younger than last two days
$query = $db->prepare("SELECT * FROM t1 WHERE confirmed=''
AND time > '".date('Y-m-d', time()-60*60*24*2)."'"); // restrict to rows younger than last two days
$query->execute();
}
catch(PDOException $e) {