Created
July 24, 2008 14:18
-
-
Save felixge/2156 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0000000: 3c3f 7068 7020 246a 6176 6173 6372 6970 <?php $javascrip | |
0000010: 742d 3e6c 696e 6b28 276d 656d 6265 725f t->link('member_ | |
0000020: 7365 6172 6368 5f66 6f72 6d27 293b 203f search_form'); ? | |
0000030: 3e0a 3c68 313e 5065 6f70 6c65 3c2f 6831 >.<h1>People</h1 | |
0000040: 3e0a 3c64 6976 2069 643d 2272 6967 6874 >.<div id="right | |
0000050: 636f 6c22 3e0a 093c 3f70 6870 2065 6368 col">..<?php ech | |
0000060: 6f20 2474 6869 732d 3e65 6c65 6d65 6e74 o $this->element | |
0000070: 2827 2e2e 2f75 7365 7273 2f66 696e 645f ('../users/find_ | |
0000080: 615f 6d65 6d62 6572 2729 3f3e 0a09 3c3f a_member')?>..<? | |
0000090: 7068 7020 6563 686f 2024 7468 6973 2d3e php echo $this-> | |
00000a0: 656c 656d 656e 7428 2774 6f70 5f63 6f6e element('top_con | |
00000b0: 7472 6962 7574 6f72 7327 293b 203f 3e0a tributors'); ?>. | |
00000c0: 3c2f 6469 763e 0a0a 3c64 6976 2069 643d </div>..<div id= | |
00000d0: 226c 6566 7463 6f6c 223e 0a09 3c64 6976 "leftcol">..<div | |
00000e0: 2063 6c61 7373 3d22 626c 6f63 6b22 3e0a class="block">. | |
00000f0: 0909 3c64 6976 2063 6c61 7373 3d22 746f ..<div class="to | |
0000100: 7022 3e3c 6469 7620 636c 6173 733d 2272 p"><div class="r | |
0000110: 6967 6874 223e 3c2f 6469 763e 5365 6172 ight"></div>Sear | |
0000120: 6368 2052 6573 756c 7473 3c2f 6469 763e ch Results</div> | |
0000130: 0a09 093c 6469 7620 636c 6173 733d 2263 ...<div class="c | |
0000140: 6f6e 7322 3e0a 0909 093c 6469 7620 6964 ons">....<div id | |
0000150: 3d22 6d5f 6f6e 655f 636f 6e22 3e0a 0909 ="m_one_con">... | |
0000160: 0909 3c3f 7068 7020 6966 2028 2165 6d70 ..<?php if (!emp | |
0000170: 7479 2824 7573 6572 7329 2920 3a20 3f3e ty($users)) : ?> | |
0000180: 0a09 0909 0909 3c3f 7068 7020 6563 686f ......<?php echo | |
0000190: 2024 7468 6973 2d3e 656c 656d 656e 7428 $this->element( | |
00001a0: 2770 6167 696e 6727 2c20 6172 7261 7928 'paging', array( | |
00001b0: 276d 6f64 656c 2720 3d3e 2027 5573 6572 'model' => 'User | |
00001c0: 2729 293f 3e0a 0909 0909 093c 756c 2063 '))?>......<ul c | |
00001d0: 6c61 7373 3d22 6d65 6d62 6572 735f 7068 lass="members_ph | |
00001e0: 6f74 6f73 223e 0a09 0909 0909 093c 3f70 otos">.......<?p | |
00001f0: 6870 2066 6f72 6561 6368 2028 2475 7365 hp foreach ($use | |
0000200: 7273 2061 7320 2469 7465 6d29 203a 203f rs as $item) : ? | |
0000210: 3e0a 0909 0909 0909 093c 3f70 6870 0a09 >........<?php.. | |
0000220: 0909 0909 0909 2473 7263 203d 2027 2f70 ......$src = '/p | |
0000230: 726f 6669 6c65 5f69 6d67 732f 6176 6174 rofile_imgs/avat | |
0000240: 6172 5f27 2e24 6974 656d 5b27 5072 6f66 ar_'.$item['Prof | |
0000250: 696c 6527 5d5b 2767 656e 6465 7227 5d20 ile']['gender'] | |
0000260: 2e20 272e 6769 6627 3b0a 0909 0909 0909 . '.gif';....... | |
0000270: 0969 6620 2824 6974 656d 5b27 5072 6f66 .if ($item['Prof | |
0000280: 696c 6527 5d5b 2761 7661 7461 7227 5d29 ile']['avatar']) | |
0000290: 207b 0a09 0909 0909 0909 0924 7372 6320 {.........$src | |
00002a0: 3d20 272f 6669 6c65 732f 7072 6f66 696c = '/files/profil | |
00002b0: 655f 6d65 6469 612f 272e 2469 7465 6d5b e_media/'.$item[ | |
00002c0: 2750 726f 6669 6c65 275d 5b27 6964 275d 'Profile']['id'] | |
00002d0: 2e27 2f61 7661 7461 725f 272e 2469 7465 .'/avatar_'.$ite | |
00002e0: 6d5b 2750 726f 6669 6c65 275d 5b27 6964 m['Profile']['id | |
00002f0: 275d 2e27 2e6a 7067 273b 0a09 0909 0909 '].'.jpg';...... | |
0000300: 0909 7d0a 0909 0909 0909 093f 3e0a 0909 ..}........?>... | |
0000310: 0909 0909 0909 3c6c 693e 0a09 0909 0909 ......<li>...... | |
0000320: 0909 0909 3c69 6d67 2073 7263 3d22 3c3f ....<img src="<? | |
0000330: 7068 7020 6563 686f 2024 7372 633b 203f php echo $src; ? | |
0000340: 3e22 202f 3e3c 6272 2f3e 0a09 0909 0909 >" /><br/>...... | |
0000350: 0909 0909 3c3f 7068 7020 6563 686f 2024 ....<?php echo $ | |
0000360: 6874 6d6c 2d3e 6c69 6e6b 2824 6974 656d html->link($item | |
0000370: 5b27 5072 6f66 696c 6527 5d5b 2773 6372 ['Profile']['scr | |
0000380: 6565 6e5f 6e61 6d65 275d 2c20 6172 7261 een_name'], arra | |
0000390: 7928 2763 6f6e 7472 6f6c 6c65 7227 203d y('controller' = | |
00003a0: 3e20 2775 7365 7273 272c 2027 6163 7469 > 'users', 'acti | |
00003b0: 6f6e 2720 3d3e 2027 7065 7273 6f6e 272c on' => 'person', | |
00003c0: 2024 6974 656d 5b27 5573 6572 275d 5b27 $item['User'][' | |
00003d0: 6964 275d 2929 3f3e 0a09 0909 0909 0909 id']))?>........ | |
00003e0: 093c 2f6c 693e 0a09 0909 0909 093c 3f70 .</li>.......<?p | |
00003f0: 6870 2065 6e64 666f 7265 6163 683b 203f hp endforeach; ? | |
0000400: 3e0a 0909 0909 093c 2f75 6c3e 0a09 0909 >......</ul>.... | |
0000410: 0909 3c64 6976 2063 6c61 7373 3d22 636c ..<div class="cl | |
0000420: 6561 7222 3e3c 2f64 6976 3e0a 0909 0909 ear"></div>..... | |
0000430: 093c 3f70 6870 2065 6368 6f20 2474 6869 .<?php echo $thi | |
0000440: 732d 3e65 6c65 6d65 6e74 2827 7061 6769 s->element('pagi | |
0000450: 6e67 272c 2061 7272 6179 2827 6d6f 6465 ng', array('mode | |
0000460: 6c27 203d 3e20 2755 7365 7227 2929 3f3e l' => 'User'))?> | |
0000470: 0a09 0909 093c 3f70 6870 2065 6c73 6520 .....<?php else | |
0000480: 3a20 3f3e 0a09 0909 0909 3c70 3e54 6865 : ?>......<p>The | |
0000490: 7265 2061 7265 206e 6f20 6d65 6d62 6572 re are no member | |
00004a0: 7320 746f 206c 6973 742e 3c2f 703e 0a09 s to list.</p>.. | |
00004b0: 0909 093c 3f70 6870 2065 6e64 6966 3b20 ...<?php endif; | |
00004c0: 3f3e 0a09 0909 093c 6469 7620 636c 6173 ?>.....<div clas | |
00004d0: 733d 2263 6c65 6172 223e 3c2f 6469 763e s="clear"></div> | |
00004e0: 0a09 0909 3c2f 6469 763e 0a09 0909 3c64 ....</div>....<d | |
00004f0: 6976 2063 6c61 7373 3d22 636c 6561 7222 iv class="clear" | |
0000500: 3e3c 2f64 6976 3e0a 0909 3c2f 6469 763e ></div>...</div> | |
0000510: 0a09 093c 6469 7620 636c 6173 733d 2262 ...<div class="b | |
0000520: 6f74 746f 6d22 3e3c 6469 7620 636c 6173 ottom"><div clas | |
0000530: 733d 2272 6967 6874 223e 3c2f 6469 763e s="right"></div> | |
0000540: 3c2f 6469 763e 0a09 3c2f 6469 763e 0a3c </div>..</div>.< | |
0000550: 2f64 6976 3e0a 3c64 6976 2063 6c61 7373 /div>.<div class | |
0000560: 3d22 636c 6561 7222 3e3c 2f64 6976 3e ="clear"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment