thrashr888 (owner)

Revisions

gist: 227499 Download_button fork
public
Description:
facebook register table
Public Clone URL: git://gist.github.com/227499.git
Embed All Files: show embed
facebook.php #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<h1>Complete your registration</h1>
<hr />
 
<?=$this->flash()?>
 
<form action="/register/facebook/register" method="POST">
<table style="width: 320px; margin: inherit auto;">
<tr>
<td><label>First Name*</label></td>
<td colspan="2"><input type="text" name="data[User][first_name]" value="<?=$data['User']['first_name']?>" /></td>
</tr>
<tr>
<td><label>Last Name*</label></td>
<td colspan="2"><input type="text" name="data[User][last_name]" value="<?=$data['User']['last_name']?>" /></td>
</tr>
<tr>
<td><label>Postal Code*</label></td>
<td colspan="2"><input type="text" name="data[User][zip]" value="<?=$data['User']['zip']?>" /></td>
</tr>
<tr>
<td><label>Email*</label></td>
<td colspan="2"><input type="text" name="data[User][email]" value="<?=$data['User']['email']?>" /></td>
</tr>
<tr>
<td><label>Year of Birth*</label></td>
<td colspan="2"><select name="data[User][year_of_birth]" id="year_of_birth" size="1">
<option value="">select one</option>
<? yearOfBirthSelectList($v['year_of_birth']) ?>
</select></td>
</tr>
<tr>
<td><label>Gender</label></td>
<td colspan="2"><input type="radio" name="sex" id="f" value="f" <? if ($data['User']['sex']=='f') {echo 'checked';}?>>
<label for="f">female</label>
<input type="radio" name="sex" id="m" value="m" <? if ($data['User']['sex']=='m') {echo 'checked';}?>>
<label for="m">male </label></td>
</tr>
<tr>
<td colspan="2" ><label>Please email me the Dogster Newsletter</label></td>
<td><input type="checkbox" name="data[User][nl_dog]" value="true" /></td>
</tr>
<tr>
<td colspan="2"><label>Please email me the Daily Dog Tips</label></td>
<td><input type="checkbox" name="data[User][daily_tips]" value="true" /></td>
</tr>
<tr>
<td colspan="2"><label>I agreen to the Terms of Service</label></td>
<td><input type="checkbox" name="data[User][terms]" value="true" /></td>
</tr>
<tr>
<td colspan="3" align="center"><input type="submit" name="submit" value="Submit" class="customButton customButton100" /></td>
</tr>
</table>
</form>