Skip to content

Commit e709bd6

Browse files
committed
Merge branch 'master' into prod
2 parents 08095e9 + df7b0f0 commit e709bd6

File tree

5 files changed

+230
-1
lines changed

5 files changed

+230
-1
lines changed

images/sponsor-cakedc.png

22.7 KB
Loading

resources/cfp.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h1>PHP Community
1212
<li><a href="/">Home</a></li>
1313
<li><a href="/sponsorships">Sponsor Us</a></li>
1414
<li>CFP</li>
15+
<li><a href="/subscribe">Keep in Touch</a></li>
1516
</ul>
1617
</div>
1718
<div id="social">

resources/home.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,15 @@ <h3>Nashville,<span>&nbsp;</span>TN</h3>
1717
<li>Home</li>
1818
<li><a href="/sponsorships">Sponsor Us</a></li>
1919
<li><a href="/cfp">CFP</a></li>
20+
<li><a href="/subscribe">Keep in Touch</a></li>
2021
</ul>
2122
</div>
2223
</div>
2324
<div class="aside">
2425
<p>A conference for people who care about PHP and what they make with it.</p>
2526
</div>
2627
<div class="section">
27-
<p>The PHP Community Conference is all about you! Come on out to Nashville for a different kind of conference this spring. We're going to hear from community members about projects they're working on and how they were inspired. It's going to be a fun, laid-back event where you and the people you'll meet can collaborate to build some awesome applications of your own with PHP. Ticket sales will begin on February 3, 2011.</p>
28+
<p>The PHP Community Conference is all about you! Come on out to Nashville for a different kind of conference this spring. We're going to hear from community members about projects they're working on and how they were inspired. It's going to be a fun, laid-back event where you and the people you'll meet can collaborate to build some awesome applications of your own with PHP. Tickets go on sale February 3, 2011. <a href="/subscribe">Subscribe to our mailing list</a>, and we'll keep you updated on all the latest PHP Community Conference news and information.</p>
2829
<p>Of course we'll need some help from all of you to pull this off. We're calling for presentations on the topic of real world PHP. Tell us about an inspiring project you're working on and why it's important. We don't want to focus on the details of the code itself, but rather on how your project solves a problem or fills a need. If selected as a speaker, we will cover your air fare and hotel costs for the dates of the event. To submit a talk, please email your proposed title and abstract to <a href="mailto:[email protected]">[email protected]</a> by January 31, 2011.</p>
2930
</div>
3031

@@ -33,6 +34,8 @@ <h1>Our Sponsors</h1>
3334
<h2>Gold Sponsors</h2>
3435
<div>
3536
<a href="http://www.facebook.com/opensource/"><img src="images/sponsor-facebook.png" alt="Facebook"/></a>
37+
&nbsp;&nbsp;&nbsp;
38+
<a href="http://cakedc.com"><img src="images/sponsor-cakedc.png" alt="CakeDC"/></a>
3639
</div>
3740
<h2>Silver Sponsors</h2>
3841
<div>

resources/sponsorships.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h1>PHP Community
1212
<li><a href="/">Home</a></li>
1313
<li>Sponsor Us</li>
1414
<li><a href="/cfp">CFP</a></li>
15+
<li><a href="/subscribe">Keep in Touch</a></li>
1516
</ul>
1617
</div>
1718
<div id="social">

resources/subscribe.html

Lines changed: 224 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,224 @@
1+
<?php
2+
$title = 'Subscribe to Our Mailing List - ';
3+
ob_start();
4+
?>
5+
6+
<div id="container" class="sub">
7+
<div class="header">
8+
<h1>PHP Community
9+
<span>Conference</span></h1>
10+
<div id="nav">
11+
<ul>
12+
<li><a href="/">Home</a></li>
13+
<li><a href="/sponsorships">Sponsor Us</a></li>
14+
<li><a href="/cfp">CFP</a></li>
15+
<li>Keep in Touch</li>
16+
</ul>
17+
</div>
18+
<div id="social">
19+
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.phpcon.org%2F&amp;layout=button_count&amp;show_faces=false&amp;width=80&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:21px;" allowTransparency="true" id="fbLike"></iframe>
20+
<p class="twitter">Follow Us: <a href="http://twitter.com/phpcomcon">PHPCOMCON</a></p>
21+
</div>
22+
</div>
23+
<div id="intro">
24+
<h2>Let's Keep In Touch</h2>
25+
<p>The PHP Community Conference is all about building community. We'd like to keep in touch with you. Please fill out this form if you'd like to receive regular updates and information from your hosts at the PHP Community Conference.</p>
26+
</div>
27+
<div id="body">
28+
29+
<!-- Begin MailChimp Signup Form -->
30+
<!--[if IE]>
31+
<style type="text/css" media="screen">
32+
#mc_embed_signup fieldset {position: relative;}
33+
#mc_embed_signup legend {position: absolute; top: -1em; left: .2em;}
34+
</style>
35+
<![endif]-->
36+
<!--[if IE 7]>
37+
<style type="text/css" media="screen">
38+
.mc-field-group {overflow:visible;}
39+
</style>
40+
<![endif]-->
41+
42+
<div id="mc_embed_signup">
43+
<form action="http://phpcon.us2.list-manage.com/subscribe/post?u=feb72a1bb27ba3e3eb07f3b45&amp;id=15d9e93bea" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank">
44+
<fieldset style="border: none;color: #363636;text-align: left;">
45+
46+
<div class="indicate-required" style="text-align: right;font-style: italic;overflow: hidden;color: #363636;margin: 0 9% 0 0;">* indicates required</div>
47+
<div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
48+
<label for="mce-EMAIL" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Email Address <strong class="note-required">*</strong>
49+
</label>
50+
<input type="text" value="" name="EMAIL" class="required email" id="mce-EMAIL" style="margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;">
51+
</div>
52+
<div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
53+
<label for="mce-NAME" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Name </label>
54+
<input type="text" value="" name="NAME" class="" id="mce-NAME" style="margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;">
55+
</div>
56+
<div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
57+
<label for="mce-WEBSITE" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Website </label>
58+
<input type="text" value="" name="WEBSITE" class=" url" id="mce-WEBSITE" style="margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;">
59+
</div>
60+
<div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
61+
<label for="mce-COMPANY" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Company </label>
62+
<input type="text" value="" name="COMPANY" class="" id="mce-COMPANY" style="margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;">
63+
</div>
64+
<div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
65+
<label for="mce-TWITTER" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Twitter Name </label>
66+
<input type="text" value="" name="TWITTER" class="" id="mce-TWITTER" style="margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;">
67+
</div>
68+
<div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
69+
<label class="input-group-label" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Email Format </label>
70+
<div class="input-group" style="padding: .7em .7em .7em 0;font-size: .9em;margin: 0 0 1em 0;">
71+
<ul style="margin: 0;padding: 0;"><li style="list-style: none;overflow: hidden;padding: .2em 0;clear: left;display: block;margin: 0;"><input type="radio" value="html" name="EMAILTYPE" id="mce-EMAILTYPE-0" style="margin-right: 2%;padding: .2em .3em;width: auto;float: left;z-index: 999;"><label for="mce-EMAILTYPE-0" style="display: block;margin: .4em 0 0 0;line-height: 1em;font-weight: bold;width: auto;float: left;text-align: left !important;">html</label></li>
72+
<li style="list-style: none;overflow: hidden;padding: .2em 0;clear: left;display: block;margin: 0;"><input type="radio" value="text" name="EMAILTYPE" id="mce-EMAILTYPE-1" style="margin-right: 2%;padding: .2em .3em;width: auto;float: left;z-index: 999;"><label for="mce-EMAILTYPE-1" style="display: block;margin: .4em 0 0 0;line-height: 1em;font-weight: bold;width: auto;float: left;text-align: left !important;">text</label></li>
73+
<li style="list-style: none;overflow: hidden;padding: .2em 0;clear: left;display: block;margin: 0;"><input type="radio" value="mobile" name="EMAILTYPE" id="mce-EMAILTYPE-2" style="margin-right: 2%;padding: .2em .3em;width: auto;float: left;z-index: 999;"><label for="mce-EMAILTYPE-2" style="display: block;margin: .4em 0 0 0;line-height: 1em;font-weight: bold;width: auto;float: left;text-align: left !important;">mobile</label></li>
74+
</ul>
75+
</div>
76+
</div>
77+
<div id="mce-responses" style="float: left;top: -1.4em;padding: 0em .5em 0em .5em;overflow: hidden;width: 90%;margin: 0 5%;clear: both;">
78+
<div class="response" id="mce-error-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: FBE3E4;color: #D12F19;"></div>
79+
<div class="response" id="mce-success-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: #E3FBE4;color: #529214;"></div>
80+
</div>
81+
<div><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn" style="clear: both;width: auto;display: block;margin: 1em 0 1em 5%;"></div>
82+
</fieldset>
83+
<a href="#" id="mc_embed_close" class="mc_embed_close" style="display: none;">Close</a>
84+
</form>
85+
</div>
86+
<script type="text/javascript">
87+
try {
88+
var jqueryLoaded=jQuery;
89+
jqueryLoaded=true;
90+
} catch(err) {
91+
var jqueryLoaded=false;
92+
}
93+
if (!jqueryLoaded) {
94+
var head= document.getElementsByTagName('head')[0];
95+
var script= document.createElement('script');
96+
script.type= 'text/javascript';
97+
script.src= 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js';
98+
head.appendChild(script);
99+
}
100+
</script>
101+
<script type="text/javascript" src="http://downloads.mailchimp.com/js/jquery.form-n-validate.js"></script>
102+
103+
<script type="text/javascript">
104+
var fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='NAME';ftypes[1]='text';fnames[3]='WEBSITE';ftypes[3]='url';fnames[4]='COMPANY';ftypes[4]='text';fnames[5]='TWITTER';ftypes[5]='text';var err_style = '';
105+
try{
106+
err_style = mc_custom_error_style;
107+
} catch(e){
108+
err_style = 'margin: 1em 0 0 0; padding: 1em 0.5em 0.5em 0.5em; background: FFEEEE none repeat scroll 0% 0%; font-weight: bold; float: left; z-index: 1; width: 80%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: FF0000;';
109+
}
110+
var head= document.getElementsByTagName('head')[0];
111+
var style= document.createElement('style');
112+
style.type= 'text/css';
113+
if (style.styleSheet) {
114+
style.styleSheet.cssText = '.mce_inline_error {' + err_style + '}';
115+
} else {
116+
style.appendChild(document.createTextNode('.mce_inline_error {' + err_style + '}'));
117+
}
118+
head.appendChild(style);
119+
$(document).ready( function($) {
120+
var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){} };
121+
var mce_validator = $("#mc-embedded-subscribe-form").validate(options);
122+
options = { url: 'http://phpcon.us2.list-manage.com/subscribe/post-json?u=feb72a1bb27ba3e3eb07f3b45&id=15d9e93bea&c=?', type: 'GET', dataType: 'json', contentType: "application/json; charset=utf-8",
123+
beforeSubmit: function(){
124+
$('#mce_tmp_error_msg').remove();
125+
$('.datefield','#mc_embed_signup').each(
126+
function(){
127+
var txt = 'filled';
128+
var fields = new Array();
129+
var i = 0;
130+
$(':text', this).each(
131+
function(){
132+
fields[i] = this;
133+
i++;
134+
});
135+
$(':hidden', this).each(
136+
function(){
137+
if ( fields[0].value=='MM' && fields[1].value=='DD' && fields[2].value=='YYYY' ){
138+
this.value = '';
139+
} else if ( fields[0].value=='' && fields[1].value=='' && fields[2].value=='' ){
140+
this.value = '';
141+
} else {
142+
this.value = fields[0].value+'/'+fields[1].value+'/'+fields[2].value;
143+
}
144+
});
145+
});
146+
return mce_validator.form();
147+
},
148+
success: mce_success_cb
149+
};
150+
$('#mc-embedded-subscribe-form').ajaxForm(options);
151+
152+
});
153+
function mce_success_cb(resp){
154+
$('#mce-success-response').hide();
155+
$('#mce-error-response').hide();
156+
if (resp.result=="success"){
157+
$('#mce-'+resp.result+'-response').show();
158+
$('#mce-'+resp.result+'-response').html(resp.msg);
159+
$('#mc-embedded-subscribe-form').each(function(){
160+
this.reset();
161+
});
162+
} else {
163+
var index = -1;
164+
var msg;
165+
try {
166+
var parts = resp.msg.split(' - ',2);
167+
if (parts[1]==undefined){
168+
msg = resp.msg;
169+
} else {
170+
i = parseInt(parts[0]);
171+
if (i.toString() == parts[0]){
172+
index = parts[0];
173+
msg = parts[1];
174+
} else {
175+
index = -1;
176+
msg = resp.msg;
177+
}
178+
}
179+
} catch(e){
180+
index = -1;
181+
msg = resp.msg;
182+
}
183+
try{
184+
if (index== -1){
185+
$('#mce-'+resp.result+'-response').show();
186+
$('#mce-'+resp.result+'-response').html(msg);
187+
} else {
188+
err_id = 'mce_tmp_error_msg';
189+
html = '<div id="'+err_id+'" style="'+err_style+'"> '+msg+'</div>';
190+
191+
var input_id = '#mc_embed_signup';
192+
var f = $(input_id);
193+
if (ftypes[index]=='address'){
194+
input_id = '#mce-'+fnames[index]+'-addr1';
195+
f = $(input_id).parent().parent().get(0);
196+
} else if (ftypes[index]=='date'){
197+
input_id = '#mce-'+fnames[index]+'-month';
198+
f = $(input_id).parent().parent().get(0);
199+
} else {
200+
input_id = '#mce-'+fnames[index];
201+
f = $().parent(input_id).get(0);
202+
}
203+
if (f){
204+
$(f).append(html);
205+
$(input_id).focus();
206+
} else {
207+
$('#mce-'+resp.result+'-response').show();
208+
$('#mce-'+resp.result+'-response').html(msg);
209+
}
210+
}
211+
} catch(e){
212+
$('#mce-'+resp.result+'-response').show();
213+
$('#mce-'+resp.result+'-response').html(msg);
214+
}
215+
}
216+
}
217+
</script>
218+
<!--End mc_embed_signup-->
219+
220+
</div>
221+
</div>
222+
<?php
223+
$body = ob_get_clean();
224+

0 commit comments

Comments
 (0)