Guest User

Untitled

a guest
Oct 21st, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.02 KB | None | 0 0
  1. gamehub_root_templates
  2.  
  3. <?xml version="1.0" encoding="utf-8"?>
  4. <templates application="gamehub" templategroups="a:1:{s:12:&quot;skin_gamehub&quot;;s:5:&quot;exact&quot;;}">
  5. <templategroup group="skin_gamehub">
  6. <template>
  7. <template_group>skin_gamehub</template_group>
  8. <template_content><![CDATA[<div class="ipsCustomBox" style="width: 100%; float: left">
  9. <div id="mainWindow">
  10. <div style="margin: 0 auto; background: #ebf0f3;">
  11. <div class="maintitle ipsFilterbar clearfix">
  12. <ul class="ipsList_inline left">
  13. <li class="active"><a href="index.php?app=gamehub">{$this->lang->words['news']}</a></li>
  14. <li><a href="index.php?app=gamehub&module=team">{$this->lang->words['team']}</a></li>
  15. </ul>
  16. </div>
  17. <div class='ipsLayout_content clearfix'>
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24. <if test="count($wiadomosc)">
  25. <foreach loop="$wiadomosc as $row">
  26. <div class='ipsBox clear'>
  27.  
  28. <div class='ipsBox_container ipsPad'>
  29. <php>
  30. $bbb = IPSMember::load($row['autor'], 'members_display_name' );
  31. </php>
  32.  
  33. <div class="ipsUserPhotoLink left ipsPad_half">
  34. {IPSMember::buildProfilePhoto($row['autor'],$size=small)}
  35. </div>
  36. <h2 class='ipsType_pagetitle'><a href='index.php?/topic/{$row['tid']}-{$row['title_seo']}/'>{$row['tytul']}</a></h2>
  37. <if test="ZACZEPHOOKA:|:in_array( $this->memberData[ 'member_group_id' ], explode( ',', $this->settings[ 'gamehub_newsy' ] ) )">
  38. <form action="index.php?app=gamehub?deleteid={$row['id']}" method="POST">
  39. <input type="hidden" name="usun">
  40. <input type="submit" name="odrzuc" value="{$this->lang->words['delete']}" class="input_submit alt">
  41. <a href="" id="b_{$row['id']}"><input type="button" value="{$this->lang->words['edit']}" class="input_submit alt"></a>
  42. </form>
  43. </if>
  44. <div class="clearfix"></div>
  45.  
  46.  
  47. <div class='desc ipsType_smaller ipsPad_half'>
  48. {$this->lang->words['postedby']} {IPSMember::makeProfileLink($bbb['members_display_name'], $row['autor'], $bbb['members_display_name']) } {parse date="$row['data']" format="SHORT"}
  49. </div>
  50.  
  51. <div class='ipsType_textblock ipsPad'>
  52. {$row['wiadomosc']}
  53.  
  54.  
  55. </div>
  56.  
  57. </div>
  58.  
  59. </div>
  60.  
  61. </foreach>
  62. {$pages}<br class="clearfix">
  63. <else />
  64. <div class='ipsBox_container ipsPad'>
  65. <div class="message unspecific"> {$this->lang->words['none']} </div></div>
  66.  
  67. </if>
  68. <br class="clearfix"><br class="clearfix">
  69.  
  70. <if test="ZACZEPHOOKA:|:in_array( $this->memberData[ 'member_group_id' ], explode( ',', $this->settings[ 'gamehub_newsy' ] ) )">
  71. <form action="" method="POST">
  72. <tr><td>
  73. {$this->lang->words['title']}
  74. </td>
  75. <td>
  76. <input type="text" class="input_text" name="tytul" size="20">
  77. </td>
  78. </tr>
  79. <br/><br/>
  80.  
  81. {$edytor}
  82. <input type="hidden" name="submithidden">
  83. <br class="clearfix">
  84. <td colspan="2">
  85. <input class="ipsButton" type="submit" name="submit" value="{$this->lang->words['add']}">
  86. </td>
  87. </form>
  88. </if>
  89. <div class="ipsType_smaller desc lighter right">
  90. GameHub autorstwa
  91. <a title="doside.pl" href="http://www.doside.pl/">Mateusz Pater [teez]</a>
  92. </div>
  93. </div>
  94. </div>
  95. </div></div>
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105. <if test="ZACZEPHOOKA:|:in_array( $this->memberData[ 'member_group_id' ], explode( ',', $this->settings[ 'gamehub_newsy' ] ) )">
  106. <if test="count($wiadomosc)">
  107. <foreach loop="$wiadomosc as $row">
  108. <div id="bb_{$row['id']}" style="display: none">
  109. <div class="ipsBox">
  110. <form action='index.php?app=gamehub&id={$row['id']}' method='post'>
  111. <table width="100%;" class="ipb_table">
  112. <tr><td>
  113. {$this->lang->words['title']}
  114. </td>
  115. <td>
  116. <input type="text" class="input_text" name="tytul" value="{$row['tytul']}" size="20">
  117. </td>
  118. </tr>
  119. </td>
  120.  
  121. <tr>
  122. <td colspan="2">
  123. <input type="submit" name="akceptuj" value="{$this->lang->words['change']}" class="input_submit alt">
  124. </td>
  125. </tr>
  126. </table>
  127. </form>
  128. </div>
  129. </div>
  130. <script type="text/javascript">
  131. $("b_{$row['id']}").observe( "click", function(e) {_var = new ipb.Popup( "booboo", { type: "balloon",stem: true,initial: $("bb_{$row['id']}").innerHTML,hideAtStart: false,attach: { target: $("b_{$row['id']}"), position: "auto", "event": "click" },} );Event.stop(e);return false;});
  132. </script></foreach></if></if>]]></template_content>
  133. <template_name>news</template_name>
  134. <template_data>$edytor, $wiadomosc, $pages</template_data>
  135. <template_removable>0</template_removable>
  136. <template_user_added>0</template_user_added>
  137. <template_user_edited>0</template_user_edited>
  138. <template_master_key>root</template_master_key>
  139. </template>
  140. <template>
  141. <template_group>skin_gamehub</template_group>
  142. <template_content><![CDATA[<div class="ipsCustomBox" style="width: 100%; float: left">
  143. <div id="mainWindow">
  144. <div style="margin: 0 auto; background: #ebf0f3;">
  145. <div class="maintitle ipsFilterbar clearfix">
  146. <ul class="ipsList_inline left">
  147. <li><a href="index.php?app=gamehub">{$this->lang->words['news']}</a></li>
  148. <li class="active"><a href="index.php?app=gamehub&module=team">{$this->lang->words['team']}</a></li>
  149. </ul>
  150. </div>
  151. <div class='ipsVerticalTabbed_content ipsBox_container' >
  152.  
  153.  
  154.  
  155.  
  156. <if test="count($data)">
  157.  
  158. <table class='ipb_table report_center'>
  159. <tr class='header'>
  160. <th scope='col'>{$this->lang->words['nick']}</th>
  161. <th scope='col'>{$this->lang->words['position']}</th>
  162. <th scope='col'>{$this->lang->words['nickig']}</th>
  163. <th scope='col'>{$this->lang->words['tasks']}</th>
  164. </tr>
  165. <foreach loop="$data as $row">
  166. <php>
  167. $bbb = IPSMember::load($row['ida'], 'members_display_name' );
  168. </php>
  169. <tr>
  170. <td>
  171. <span style="margin-right: 5px;">{IPSMember::buildProfilePhoto($row['ida'],$size=small)}</span>
  172. {IPSMember::makeProfileLink($bbb['members_display_name'], $row['ida'], $bbb['members_display_name']) } </td>
  173. <td>{$row['ranga']} </td>
  174. <td> {$row['nazwaig']}</td>
  175. <td> <a href="" id="b_{$row['id']}"><input type="button" value="{$this->lang->words['tasks']}" class="input_submit alt"></a> </td>
  176. </tr>
  177.  
  178.  
  179. </foreach>
  180. </table>
  181. </if>
  182.  
  183.  
  184. </div>
  185. <div class="ipsType_smaller desc lighter right">
  186. GameHub autorstwa
  187. <a title="doside.pl" href="http://www.doside.pl/">Mateusz Pater [teez]</a>
  188. </div>
  189. </div>
  190.  
  191. </div>
  192.  
  193. </div>
  194.  
  195.  
  196. <if test="count($data)">
  197. <foreach loop="$data as $row">
  198. <div id="bb_{$row['id']}" style="display: none">
  199. <div class="ipsBox">
  200. {$row['zadania']}
  201. </div>
  202. </div>
  203. <script type="text/javascript">
  204. $("b_{$row['id']}").observe( "click", function(e) {_var = new ipb.Popup( "booboo", { type: "balloon",stem: true,initial: $("bb_{$row['id']}").innerHTML,hideAtStart: false,attach: { target: $("b_{$row['id']}"), position: "auto", "event": "click" },} );Event.stop(e);return false;});
  205. </script></foreach></if></if>
  206.  
  207.  
  208.  
  209.  
  210.  
  211. ]]></template_content>
  212. <template_name>team</template_name>
  213. <template_data>$data</template_data>
  214. <template_removable>1</template_removable>
  215. <template_user_added>1</template_user_added>
  216. <template_user_edited>1</template_user_edited>
  217. <template_master_key>root</template_master_key>
  218. </template>
  219. </templategroup>
  220. </templates>
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233. <template>
  234. <template_group>skin_gamehub</template_group>
  235. <template_content><![CDATA[
  236.  
  237. <div class='ipsBox'>
  238. <div class='ipsLayout ipsLayout_withleft ipsLayout_smallleft ipsVerticalTabbed clearfix usercp_body'>
  239. <div class='ipsVerticalTabbed_tabs ipsLayout_left'>
  240. <ul>
  241. <li><a href="index.php?app=gamehub">Strona główna</a></li>
  242. <li class="active"><a href="index.php?app=gamehub&module=character">Postacie</a></li>
  243. <li><a href="index.php?app=grp&module=admin&section=premium">Premium</a></li>
  244.  
  245. </ul>
  246. </div>
  247. <div class='ipsVerticalTabbed_content ipsLayout_content ipsBox_container' >
  248. <div class='ipsPad'>
  249. <div class="maintitle ipsFilterbar clearfix">
  250. <ul class="ipsList_inline">
  251. <li class="active"><a href="index.php?app=gamehub&module=character">Twoje postacie</a></li>
  252. <li><a href="index.php?app=gamehub&module=character&section=newcharacter">Stwórz nową</a></li>
  253. </ul>
  254. </div>
  255. <if test="count($players)">
  256. <foreach loop="$players as $player">
  257. <div id="statusSubmitGlobal" class="ipsButton_secondary" style="margin-right:5px;width: 120px; height: auto; padding:5px; text-align: center;cursor:pointer;">
  258. <img src="http://gtav.pl/uploads/gtam/GTASA_skins/{$player['skin']}.png"/><br/>{$player['name']} {$player['surname']}<br/>2h
  259. </div>
  260. </foreach>
  261. <else />
  262. <br/><p class="message error">Nie stworzyłeś jeszcze postaci.</p>
  263. </if>
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279. </div>
  280. </div>
  281. </div>
  282. </div>
  283.  
  284. ]]></template_content>
  285. <template_name>character</template_name>
  286. <template_data>$players</template_data>
  287. <template_removable>2</template_removable>
  288. <template_user_added>2</template_user_added>
  289. <template_user_edited>2</template_user_edited>
  290. <template_master_key>root</template_master_key>
  291. </template>
  292. </templategroup>
  293. </templates>
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312. <template>
  313. <template_group>skin_gamehub</template_group>
  314. <template_content><![CDATA[
  315. <div class='ipsBox'>
  316. <div class='ipsLayout ipsLayout_withleft ipsLayout_smallleft ipsVerticalTabbed clearfix usercp_body'>
  317. <div class='ipsVerticalTabbed_tabs ipsLayout_left'>
  318. <ul>
  319. <li><a href="index.php?app=gamehub">Strona główna</a></li>
  320. <li class="active"><a href="index.php?app=gamehub&module=character">Postacie</a></li>
  321. <li><a href="index.php?app=grp&module=admin&section=premium">Premium</a></li>
  322.  
  323. </ul>
  324. </div>
  325. <div class='ipsVerticalTabbed_content ipsLayout_content ipsBox_container' >
  326. <div class='ipsPad'>
  327. <div class="maintitle ipsFilterbar clearfix">
  328. <ul class="ipsList_inline">
  329. <li><a href="index.php?app=gamehub&module=character">Twoje postacie</a></li>
  330. <li class="active"><a href="index.php?app=gamehub&module=character&section=newcharacter">Stwórz nową</a></li>
  331. </ul>
  332. </div>
  333.  
  334. <form action="index.php?app=gamehub&module=character&section=newcharacter" method="POST">
  335. <fieldset class="ipsSettings_section">
  336. <h3 class="ipsSettings_sectiontitle">Podaj informacje</h3>
  337. <div>
  338. <ul>
  339. <li class="custom">
  340. <label for="name" class="ipsSettings_fieldtitle">Imię</label>
  341. <input data-tooltip="Wpisz imię postaci" type="text" id="name" size="40" maxlength="20" class="input_text" name="name" value="">
  342. </li>
  343. <li class="custom">
  344. <label for="lastname" class="ipsSettings_fieldtitle">Nazwisko</label>
  345. <input data-tooltip="Wpisz nazwisko postaci" maxlength="20" type="text" id="lastname" size="40" class="input_text" name="surname" value="">
  346. </li>
  347. <li class="custom">
  348. <label for="weight" class="ipsSettings_fieldtitle">Skin</label>
  349. <input maxlength="3" data-tooltip="Podaj id skinu (chwilowo)" type="text" id="weight" size="3" class="input_text" name="skin" value="">
  350. </li>
  351. <li class="custom">
  352. <label for="age" class="ipsSettings_fieldtitle">Wiek</label>
  353. <input maxlength="2" data-tooltip="Wpisz wiek postaci (15-90 lat)" type="text" id="age" size="3" class="input_text" name="age" value=""> lat
  354. </li>
  355. <li class="custom">
  356. <label for="height" class="ipsSettings_fieldtitle">Wzrost</label>
  357. <input maxlength="3" data-tooltip="Wpisz wzrost postaci" type="text" id="height" size="3" class="input_text" name="height" value=""> cm
  358. </li>
  359. <li class="custom">
  360. <label for="weight" class="ipsSettings_fieldtitle">Masa</label>
  361. <input maxlength="3" data-tooltip="Wpisz masę postaci" type="text" id="weight" size="3" class="input_text" name="weight" value=""> kg
  362. </li>
  363. <li class="custom">
  364. <label for="description" class="ipsSettings_fieldtitle">Opis</label>
  365. <textarea rows="5" cols="40" maxlength="500" data-tooltip="Krótko scharakteryzuj swoją postać (150 - 500 znaków)" id="description" class="input_text" name="description"></textarea>
  366. </li>
  367. <li class="custom">
  368. <input type="submit" name="submit" value="Stwórz postać" class="input_submit">
  369. </li>
  370.  
  371. </ul>
  372. </div>
  373. </fieldset>
  374. </form>
  375.  
  376. </div>
  377. </div>
  378. </div>
  379. </div>
  380.  
  381.  
  382.  
  383. ]]></template_content>
  384. <template_name>newcharacter</template_name>
  385. <template_data></template_data>
  386. <template_removable>3</template_removable>
  387. <template_user_added>3</template_user_added>
  388. <template_user_edited>3</template_user_edited>
  389. <template_master_key>root</template_master_key>
  390. </template>
  391. </templategroup>
  392. </templates>
  393.  
  394.  
  395. <!--Szablony-->
Advertisement
Add Comment
Please, Sign In to add comment