Skip to content

Instantly share code, notes, and snippets.

@meeDamian
Created December 13, 2011 15:01
Show Gist options
  • Save meeDamian/1472426 to your computer and use it in GitHub Desktop.
Save meeDamian/1472426 to your computer and use it in GitHub Desktop.
<section id="recipient-layer">
<h1>Wybierz adresatów</h1>
<? if(!$user): ?>
<section id="fb_login">
<p>Aby wybrać znajomych z Facebooka musisz się zalogować:</p>
<fb:login-button show-faces="true" width="200" max-rows="2" scope="read_friendlists">Zabuguj się na facebuga</fb:login-button>
</section>
<? endif; ?>
<div id="fb_friends" <?=((!$user)?'style="display: none"':"");?>>
<form id="fb_all_friends">
<!-- powtórzone tyle razy ile jest ludzików -->
<div class="row">
<fieldset class="friend">
<input type="checkbox" id="[fb_id1]" value="fid:[fb-id]" />
<img src="" alt="" class="fb_avatar" />
<span class="fb_name" />
</fieldset>
<fieldset class="friend">
<input type="checkbox" id="[fb_id2]" value="fid:[fb-id]" />
<img src="" alt="" class="fb_avatar" />
<span class="fb_name" />
</fieldset>
<fieldset class="friend">
<input type="checkbox" id="[fb_id3]" value="fid:[fb-id]" />
<img src="" alt="" class="fb_avatar" />
<span class="fb_name" />
</fieldset>
</div>
</form>
<div id="chosen_ones">
<p>Wybrani znajomi:</p>
<ul id="chosen_friends">
<li id="[fb_id1]" title="fid:[fb-id]">Imię i nazwisko</li>
<li id="[fb_id2]" title="fid:[fb-id]">Imiona i nazwisko</li>
<li id="[fb_id3]" title="fid:[fb-id]">Imię i nazwiska</li>
<li id="[fb_id4]" title="fid:[fb-id]">Imiona i nazwiska</li>
</ul>
</div>
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment