Advertisement
salmancreation

Dorpon

Jan 19th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.68 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: Home Page
  4. */
  5. ?>
  6. <?php get_header(); ?>
  7.  
  8. <div class="clear"></div><!--clear END-->
  9. <div class="fix content">
  10. <div class="fix lead">
  11. <div class="fix last_news">
  12. <div class="lnhead">
  13. <h3>&#2488;&#2480;&#2509;&#2476;&#2486;&#2503;&#2487;</h3>
  14. </div><!--lnhead END-->
  15. <ul>
  16. <?php
  17. $args = array( 'numberposts' => '8' );
  18. $recent_posts = wp_get_recent_posts( $args );
  19. foreach( $recent_posts as $recent ){
  20. echo '<li><a href="' . get_permalink($recent["ID"]) . '" title="&#2488;&#2480;&#2509;&#2476;&#2486;&#2503;&#2487;: '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"].'</a> </li> ';
  21. }
  22. ?>
  23. </ul>
  24. </div><!--last_news END-->
  25. <div class="fix slider">
  26. <ul class="bxslider4">
  27. <?php query_posts('cat=38&post_type=post&post_status=publish&posts_per_page=5'); ?>
  28. <?php if(have_posts()) : ?>
  29. <?php while (have_posts()) : the_post(); ?>
  30. <div class="fix sliderPicBox">
  31. <a href="<?php the_permalink(); ?>">
  32. <?php the_post_thumbnail(); ?>
  33. </a>
  34. <div class="fix sliderCp">
  35. <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?> </a></h2>
  36. </div><!--sliderCp END-->
  37. </div><!--sliderPicBox END-->
  38. <?php endwhile; ?>
  39. <?php endif; ?>
  40.  
  41. </ul>
  42. </div><!--slider END-->
  43.  
  44. <div class="fix last_news">
  45. <div class="lnhead morehit greenline">
  46. <h3>&#2488;&#2480;&#2509;&#2476;&#2494;&#2471;&#2495;&#2453; &#2474;&#2464;&#2495;&#2468;</h3>
  47. </div><!--lnhead END-->
  48. <ul>
  49. <?php
  50. query_posts('meta_key=post_views_count&orderby=meta_value_num&posts_per_page=8&order=ASC');
  51. if (have_posts()) : while (have_posts()) : the_post(); ?>
  52. <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
  53. </li>
  54. <?php
  55. endwhile; endif;
  56. wp_reset_query();
  57. ?>
  58. </ul>
  59. </div><!--last_news END-->
  60. </div><!--lead END-->
  61. <!-- /advertisement management -->
  62. <?php $adsQurey = new WP_Query('post_type=ads&post_status=publish&posts_per_page=18') ?>
  63.  
  64. <?php
  65. function adsRowOne(){
  66. ?>
  67. <div class="add_3_1">
  68. <a href="<?php the_field('ads_url'); ?>">
  69. <img src="<?php the_field('ads_picture'); ?>">
  70. </a>
  71. </div>
  72.  
  73. <?php
  74. }
  75.  
  76. function adsRowTwo(){
  77. ?>
  78. <div class="add_3_1">
  79. <a href="<?php the_field('ads_url'); ?>">
  80. <img src="<?php the_field('ads_picture'); ?>">
  81. </a>
  82. </div>
  83. <?php
  84. }
  85. function adsRowThree(){
  86. ?>
  87. <div class="add_3_1">
  88. <a href="<?php the_field('ads_url'); ?>">
  89. <img src="<?php the_field('ads_picture'); ?>">
  90. </a>
  91. </div>
  92. <?php
  93. }
  94. function adsRowFour(){
  95. ?>
  96. <div class="add_3_1">
  97. <a href="<?php the_field('ads_url'); ?>">
  98. <img src="<?php the_field('ads_picture'); ?>">
  99. </a>
  100. </div>
  101. <?php
  102. }
  103. function adsRowFive(){
  104. ?>
  105. <div class="add_3_1">
  106. <a href="<?php the_field('ads_url'); ?>">
  107. <img src="<?php the_field('ads_picture'); ?>">
  108. </a>
  109. </div>
  110. <?php
  111. }
  112. function adsRowSix(){
  113. ?>
  114. <div class="add_3_1">
  115. <a href="<?php the_field('ads_url'); ?>">
  116. <img src="<?php the_field('ads_picture'); ?>">
  117. </a>
  118. </div>
  119. <?php
  120. }
  121. ?>
  122. <!-- end advertisment management area -->
  123.  
  124.  
  125. <div class="add_3">
  126. <?php $i=0; while($adsQurey->have_posts()): $adsQurey->the_post(); $i++; ?>
  127. <?php
  128. switch($i){
  129.  
  130. case 1:
  131. case 2:
  132. case 3: adsRowOne(); break;
  133.  
  134. default:
  135. echo "";
  136. }
  137. ?>
  138. <?php endwhile; ?>
  139. </div><!--add_3 END-->
  140.  
  141. <?php echo get_template_part('america_category'); ?>
  142.  
  143. <div class="add_3">
  144. <?php $i=0; while($adsQurey->have_posts()): $adsQurey->the_post(); $i++; ?>
  145. <?php
  146. switch($i){
  147.  
  148. case 4:
  149. case 5:
  150. case 6: adsRowTwo(); break;
  151.  
  152. default:
  153. echo "";
  154. }
  155. ?>
  156. <?php endwhile; ?>
  157. </div><!--add_3 END-->
  158.  
  159. <div class="fix catagory1">
  160. <div class="catagory_1">
  161. <div class="fix catagory_name_plus">
  162. <div class="fix catagory_name">
  163. <h1><a class="color_dra" href="http://darpon.com/&#2470;&#2503;&#2486;-&#2470;&#2480;&#2509;&#2474;&#2467;">&#2470;&#2503;&#2486; &#2470;&#2480;&#2509;&#2474;&#2467;</a></h1>
  164. </div><!--catagory_name END-->
  165. <div class="fix catagory_plus">
  166. <h5><a href="http://darpon.com/&#2470;&#2503;&#2486;-&#2470;&#2480;&#2509;&#2474;&#2467;">+</a></h5>
  167. </div><!--catagory_plus END-->
  168. </div><!--catagory_name_plus END-->
  169. <?php query_posts('cat=3&post_type=post&post_status=publish&posts_per_page=1'); ?>
  170. <?php if(have_posts()) : ?>
  171. <?php while (have_posts()) : the_post(); ?>
  172. <span class="sub_heading">
  173. <?php the_field('sub_title'); ?>
  174. </span><!--sub_heading END-->
  175. <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?> </a></h2>
  176. <div class="fix catagory_body_pic">
  177. <div class="fix catagory_body">
  178. <?php echo excerpt('40'); ?>
  179. </div><!--catagory_body END-->
  180. <div class="fix catagory_pic">
  181. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  182. </div><!--catagory_pic END-->
  183. </div><!--catagory_body_pic END-->
  184. <?php endwhile; ?>
  185. <?php endif; ?>
  186.  
  187. <div class="catagory_hli">
  188. <ul>
  189. <?php query_posts('cat=3&post_type=post&post_status=publish&posts_per_page=6');
  190. $i = 0; ?>
  191. <?php if(have_posts()) : ?>
  192. <?php while (have_posts()) : the_post(); $i++;
  193. if($i==1) continue;?>
  194. <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
  195. <?php endwhile; ?>
  196. <?php endif; ?>
  197. </ul>
  198. </div><!--catagory_hli-->
  199. </div><!--catagory_1 END-->
  200.  
  201. <div class="catagory_1">
  202. <div class="fix catagory_name_plus">
  203. <div class="fix catagory_name">
  204. <h1><a class="color_dra" href="http://darpon.com/&#2480;&#2494;&#2460;&#2472;&#2496;&#2468;&#2495;">&#2480;&#2494;&#2460;&#2472;&#2496;&#2468;&#2495;</a></h1>
  205. </div><!--catagory_name END-->
  206. <div class="fix catagory_plus">
  207. <h5><a href="http://darpon.com/&#2480;&#2494;&#2460;&#2472;&#2496;&#2468;&#2495;">+</a></h5>
  208. </div><!--catagory_plus END-->
  209. </div><!--catagory_name_plus END-->
  210. <?php query_posts('cat=4&post_type=post&post_status=publish&posts_per_page=1'); ?>
  211. <?php if(have_posts()) : ?>
  212. <?php while (have_posts()) : the_post(); ?>
  213. <span class="sub_heading">
  214. <?php the_field('sub_title'); ?>
  215. </span><!--sub_heading END-->
  216. <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
  217. <div class="fix catagory_body_pic">
  218. <div class="fix catagory_body">
  219. <?php echo excerpt('40'); ?>
  220. </div><!--catagory_body END-->
  221. <div class="fix catagory_pic">
  222. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  223. </div><!--catagory_pic END-->
  224. </div><!--catagory_body_pic END-->
  225. <?php endwhile; ?>
  226. <?php endif; ?>
  227. <div class="catagory_hli">
  228. <ul>
  229. <?php query_posts('cat=4&post_type=post&post_status=publish&posts_per_page=6');
  230. $i = 0; ?>
  231. <?php if(have_posts()) : ?>
  232. <?php while (have_posts()) : the_post(); $i++;
  233. if($i==1) continue;?>
  234. <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
  235. <?php endwhile; ?>
  236. <?php endif; ?>
  237. </ul>
  238. </div><!--catagory_hli-->
  239. </div><!--catagory_1 END-->
  240. <div class="catagory_1">
  241. <div class="fix catagory_name_plus">
  242. <div class="fix catagory_name">
  243. <h1><a class="color_dra" href="http://darpon.com/&#2453;&#2482;&#2494;&#2478;">&#2453;&#2482;&#2494;&#2478;</a></h1>
  244. </div><!--catagory_name END-->
  245. <div class="fix catagory_plus">
  246. <h5><a href="http://darpon.com/&#2453;&#2482;&#2494;&#2478;">+</a></h5>
  247. </div><!--catagory_plus END-->
  248. </div><!--catagory_name_plus END-->
  249. <?php query_posts('cat=27&post_type=post&post_status=publish&posts_per_page=3'); ?>
  250. <?php if(have_posts()) : ?>
  251. <?php while (have_posts()) : the_post(); ?>
  252. <div class="fix post_box">
  253. <div class="fix post_writer_pic">
  254. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  255. </div><!--post_writer_pic END-->
  256. <div class="fix post_body">
  257. <span class="sub_heading">
  258. <?php the_field('sub_title'); ?>
  259. </span><!--sub_heading END-->
  260. <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
  261. <h3> <?php the_field('interview_giver'); ?></h3>
  262. </div><!--post_body END-->
  263. </div><!--post_box END-->
  264. <?php endwhile; ?>
  265. <?php endif; ?>
  266. </div><!--catagory_1 END-->
  267. </div><!--catagory1 END-->
  268. <div class="clear"></div><!--clear END-->
  269.  
  270. <?php echo get_template_part('division-category'); ?>
  271.  
  272. <div class="add_3">
  273. <?php $i=0; while($adsQurey->have_posts()): $adsQurey->the_post(); $i++; ?>
  274. <?php
  275. switch($i){
  276.  
  277. case 7:
  278. case 8:
  279. case 9: adsRowThree(); break;
  280.  
  281. default:
  282. echo "";
  283. }
  284. ?>
  285. <?php endwhile; ?>
  286. </div><!--add_3 END-->
  287.  
  288. <div class="fix clear"></div>
  289.  
  290. <?php echo get_template_part('probash-category'); ?>
  291.  
  292. <div class="add_3">
  293. <?php $i=0; while($adsQurey->have_posts()): $adsQurey->the_post(); $i++; ?>
  294. <?php
  295. switch($i){
  296.  
  297. case 10:
  298. case 11:
  299. case 12: adsRowFour(); break;
  300.  
  301. default:
  302. echo "";
  303. }
  304. ?>
  305. <?php endwhile; ?>
  306. </div><!--add_3 END-->
  307.  
  308. <?php echo get_template_part('film_category'); ?>
  309.  
  310. <div class="fix rommo">
  311. <div class="fix catagory_name_plus mayeli">
  312. <div class="fix catagory_name mayeliColor">
  313. <h1><a href="http://darpon.com/&#2478;&#2503;&#2527;&#2503;&#2482;&#2496;">&#2478;&#2503;&#2527;&#2503;&#2482;&#2496;</a></h1>
  314. </div><!--catagory_name END-->
  315. <div class="fix catagory_plus mayeliplus">
  316. <h5><a href="http://darpon.com/&#2478;&#2503;&#2527;&#2503;&#2482;&#2496;">+</a></h5>
  317. </div><!--catagory_plus END-->
  318. </div><!--catagory_name_plus END-->
  319. <div class="fix mayeli_matter">
  320. <ul class="bxslider2">
  321. <?php query_posts('cat=19&post_type=post&post_status=publish&posts_per_page=18'); ?>
  322. <?php if(have_posts()) : ?>
  323. <?php while (have_posts()) : the_post(); ?>
  324. <li>
  325. <div class="fix rommoSlider">
  326. <div class="fix rommoSliderpic">
  327. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  328. <div class="fix slcap">
  329. <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
  330. </div><!--slcap END-->
  331. </div><!--rommoSliderpic END-->
  332. </div>
  333. </li><!--rommoSlider END-->
  334. <?php endwhile; ?>
  335. <?php endif; ?>
  336.  
  337. </ul>
  338. </div><!--mayeli_matter END-->
  339. </div><!--rommo END-->
  340.  
  341. <?php echo get_template_part('sports_category'); ?>
  342.  
  343. <div class="add_3">
  344. <?php $i=0; while($adsQurey->have_posts()): $adsQurey->the_post(); $i++; ?>
  345. <?php
  346. switch($i){
  347.  
  348. case 13:
  349. case 14:
  350. case 15: adsRowFive(); break;
  351.  
  352. default:
  353. echo "";
  354. }
  355. ?>
  356. <?php endwhile; ?>
  357. </div><!--add_3 END-->
  358.  
  359. <div class="fix catagory6">
  360. <div class="fix photogellary">
  361. <h2><a href="http://darpon.com/&#2459;&#2476;&#2495;&#2456;&#2480;">&#2459;&#2476;&#2495;&#2456;&#2480;</a></h2>
  362. <ul class="bxsliderphoto">
  363. <?php query_posts('cat=25&post_type=post&post_status=publish&posts_per_page=10'); ?>
  364. <?php if(have_posts()) : ?>
  365. <?php while (have_posts()) : the_post(); ?>
  366. <div class="fix photoBox">
  367. <div class="fix photoBoxPic">
  368. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  369. </div><!--photoBoxPic END-->
  370. <div class="fix photoBoxCaption">
  371. <h5><a href="<?php the_title(); ?>"><?php the_title(); ?></a></h5>
  372. </div><!--photoBoxCaption END-->
  373. </div><!--photoBox END-->
  374. <?php endwhile; ?>
  375. <?php endif; ?>
  376.  
  377. </ul>
  378. </div><!--photogellary END-->
  379. <div class="fix feature">
  380. <div class="fix feature_part">
  381. <div class="fix catagory_name_plus literature">
  382. <div class="fix catagory_name literatureColor">
  383. <h1><a href="http://darpon.com/&#2488;&#2494;&#2489;&#2495;&#2468;&#2509;&#2479;">&#2488;&#2494;&#2489;&#2495;&#2468;&#2509;&#2479;</a></h1>
  384. </div><!--catagory_name END-->
  385. <div class="fix catagory_plus ltplus">
  386. <h5><a href="http://darpon.com/&#2488;&#2494;&#2489;&#2495;&#2468;&#2509;&#2479;">+</a></h5>
  387. </div><!--catagory_plus END-->
  388. </div><!--catagory_name_plus END-->
  389. <?php query_posts('cat=17&post_type=post&post_status=publish&posts_per_page=1'); ?>
  390. <?php if(have_posts()) : ?>
  391. <?php while (have_posts()) : the_post(); ?>
  392. <div class="literaturePart">
  393. <div class="fix literature_pic">
  394. <?php the_post_thumbnail(); ?>
  395. </div><!--literature_pic END-->
  396. <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
  397. <div class="fix ltbody">
  398. <p><?php echo excerpt('30'); ?></p>
  399. </div><!--ltbody END-->
  400. </div><!--literaturePart END-->
  401. <?php endwhile; ?>
  402. <?php endif; ?>
  403. <div class="fix literaturePart">
  404. <ul>
  405. <?php query_posts('cat=17&post_type=post&post_status=publish&posts_per_page=10');
  406. $i = 0; ?>
  407. <?php if(have_posts()) : ?>
  408. <?php while (have_posts()) : the_post(); $i++;
  409. if($i==1) continue;?>
  410. <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
  411. </li>
  412. <?php endwhile; ?>
  413. <?php endif; ?>
  414. </ul>
  415. </div><!--literaturePart END-->
  416. </div><!--feature_part END-->
  417. </div><!--feature END-->
  418. </div><!--catagory6 END-->
  419.  
  420. <div class="catagory7">
  421. <div class="fix rommo">
  422. <div class="fix catagory_name_plus rommohead">
  423. <div class="fix catagory_name rommoheadColor">
  424. <h1><a href="http://darpon.com/&#2480;&#2478;&#2509;&#2479;">&#2480;&#2478;&#2509;&#2479;</a></h1>
  425. </div><!--catagory_name END-->
  426. <div class="fix catagory_plus rmplus">
  427. <h5><a href="http://darpon.com/&#2480;&#2478;&#2509;&#2479;">+</a></h5>
  428. </div><!--catagory_plus END-->
  429. </div><!--catagory_name_plus END-->
  430. <div class="fix rommo_matter">
  431. <ul class="bxslider3">
  432. <?php query_posts('cat=23&post_type=post&post_status=publish&posts_per_page=18'); ?>
  433. <?php if(have_posts()) : ?>
  434. <?php while (have_posts()) : the_post(); ?>
  435. <li>
  436. <div class="fix rommoSlider">
  437. <div class="fix rommoSliderpic">
  438. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  439. <div class="fix slcap">
  440. <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
  441. </div><!--slcap END-->
  442. </div><!--rommoSliderpic END-->
  443. </div>
  444. </li><!--rommoSlider END-->
  445. <?php endwhile; ?>
  446. <?php endif; ?>
  447. </ul>
  448. </div><!--rommo_matter END-->
  449. </div><!--rommo END-->
  450. <div class="add_3">
  451. <?php $i=0; while($adsQurey->have_posts()): $adsQurey->the_post(); $i++; ?>
  452. <?php
  453. switch($i){
  454.  
  455. case 16:
  456. case 17:
  457. case 18: adsRowSix(); break;
  458.  
  459. default:
  460. echo "";
  461. }
  462. ?>
  463. <?php endwhile; ?>
  464. </div><!--add_3 END-->
  465.  
  466. </div><!--catagory7 END-->
  467.  
  468. <div class="fix catagory8">
  469. <div class="fix iteam4">
  470. <div class="fix iteam4_1">
  471. <div class="fix catagory_name_plus iteam4head">
  472. <div class="fix catagory_name item4Color">
  473. <h1><a href="http://darpon.com/&#2488;&#2434;&#2488;&#2509;&#2453;&#2499;&#2468;&#2495;-&#2448;&#2468;&#2495;&#2489;&#2509;&#2479;">&#2488;&#2434;&#2488;&#2509;&#2453;&#2499;&#2468;&#2495; &#2448;&#2468;&#2495;&#2489;&#2509;&#2479;</a></h1>
  474. </div><!--catagory_name END-->
  475. <div class="fix catagory_plus iteam4plus">
  476. <h5><a href="http://darpon.com/&#2488;&#2434;&#2488;&#2509;&#2453;&#2499;&#2468;&#2495;-&#2448;&#2468;&#2495;&#2489;&#2509;&#2479;">+</a></h5>
  477. </div><!--catagory_plus END-->
  478. </div><!--catagory_name_plus END-->
  479. <?php query_posts('cat=22&post_type=post&post_status=publish&posts_per_page=1'); ?>
  480. <?php if(have_posts()) : ?>
  481. <?php while (have_posts()) : the_post(); ?>
  482. <div class="fix iteamPicBox">
  483. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  484. </div><!--iteamPicBox END-->
  485. <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
  486. <?php endwhile; ?>
  487. <?php endif; ?>
  488. <ul>
  489. <?php query_posts('cat=22&post_type=post&post_status=publish&posts_per_page=5');
  490. $i = 0; ?>
  491. <?php if(have_posts()) : ?>
  492. <?php while (have_posts()) : the_post(); $i++;
  493. if($i==1) continue;?>
  494. <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
  495. </li>
  496. <?php endwhile; ?>
  497. <?php endif; ?>
  498. </ul>
  499. </div><!--iteam4 END-->
  500.  
  501. <div class="iteam4_1">
  502. <div class="fix catagory_name_plus iteam4head">
  503. <div class="fix catagory_name item4Color">
  504. <h1><a href="http://darpon.com/&#2458;&#2495;&#2453;&#2495;&#2510;&#2488;&#2494;">&#2458;&#2495;&#2453;&#2495;&#2510;&#2488;&#2494;</a></h1>
  505. </div><!--catagory_name END-->
  506. <div class="fix catagory_plus iteam4plus">
  507. <h5><a href="http://darpon.com/&#2458;&#2495;&#2453;&#2495;&#2510;&#2488;&#2494;">+</a></h5>
  508. </div><!--catagory_plus END-->
  509. </div><!--catagory_name_plus END-->
  510. <?php query_posts('cat=20&post_type=post&post_status=publish&posts_per_page=1'); ?>
  511. <?php if(have_posts()) : ?>
  512. <?php while (have_posts()) : the_post(); ?>
  513. <div class="fix iteamPicBox">
  514. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  515. </div><!--iteamPicBox END-->
  516. <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
  517. <?php endwhile; ?>
  518. <?php endif; ?>
  519. <ul>
  520. <?php query_posts('cat=20&post_type=post&post_status=publish&posts_per_page=5');
  521. $i = 0; ?>
  522. <?php if(have_posts()) : ?>
  523. <?php while (have_posts()) : the_post(); $i++;
  524. if($i==1) continue;?>
  525. <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
  526. </li>
  527. <?php endwhile; ?>
  528. <?php endif; ?>
  529. </ul>
  530. </div><!--iteam4_1 END-->
  531. <div class="iteam4_1">
  532. <div class="fix catagory_name_plus iteam4head">
  533. <div class="fix catagory_name item4Color">
  534. <h1><a href="http://darpon.com/&#2476;&#2495;&#2460;&#2509;&#2462;&#2494;&#2472;">&#2476;&#2495;&#2460;&#2509;&#2462;&#2494;&#2472;</a></h1>
  535. </div><!--catagory_name END-->
  536. <div class="fix catagory_plus iteam4plus">
  537. <h5><a href="http://darpon.com/&#2476;&#2495;&#2460;&#2509;&#2462;&#2494;&#2472;">+</a></h5>
  538. </div><!--catagory_plus END-->
  539. </div><!--catagory_name_plus END-->
  540. <?php query_posts('cat=21&post_type=post&post_status=publish&posts_per_page=1'); ?>
  541. <?php if(have_posts()) : ?>
  542. <?php while (have_posts()) : the_post(); ?>
  543. <div class="fix iteamPicBox">
  544. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  545. </div><!--iteamPicBox END-->
  546. <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
  547. <?php endwhile; ?>
  548. <?php endif; ?>
  549. <ul>
  550. <?php query_posts('cat=21&post_type=post&post_status=publish&posts_per_page=5');
  551. $i = 0; ?>
  552. <?php if(have_posts()) : ?>
  553. <?php while (have_posts()) : the_post(); $i++;
  554. if($i==1) continue;?>
  555. <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
  556. </li>
  557. <?php endwhile; ?>
  558. <?php endif; ?>
  559. </ul>
  560. </div><!--iteam4_1 END-->
  561. <div class="iteam4_1">
  562. <div class="fix catagory_name_plus iteam4head">
  563. <div class="fix catagory_name item4Color">
  564. <h1><a href="http://darpon.com/&#2471;&#2480;&#2509;&#2478;">&#2471;&#2480;&#2509;&#2478;</a></h1>
  565. </div><!--catagory_name END-->
  566. <div class="fix catagory_plus iteam4plus">
  567. <h5><a href="http://darpon.com/&#2471;&#2480;&#2509;&#2478;">+</a></h5>
  568. </div><!--catagory_plus END-->
  569. </div><!--catagory_name_plus END-->
  570. <?php query_posts('cat=18&post_type=post&post_status=publish&posts_per_page=1'); ?>
  571. <?php if(have_posts()) : ?>
  572. <?php while (have_posts()) : the_post(); ?>
  573. <div class="fix iteamPicBox">
  574. <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>
  575. </div><!--iteamPicBox END-->
  576. <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
  577. <?php endwhile; ?>
  578. <?php endif; ?>
  579. <ul>
  580. <?php query_posts('cat=18&post_type=post&post_status=publish&posts_per_page=5');
  581. $i = 0; ?>
  582. <?php if(have_posts()) : ?>
  583. <?php while (have_posts()) : the_post(); $i++;
  584. if($i==1) continue;?>
  585. <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
  586. </li>
  587. <?php endwhile; ?>
  588. <?php endif; ?>
  589. </ul>
  590. </div><!--iteam4_1 END-->
  591. </div><!--iteam4 END-->
  592. </div><!--catagory8 END-->
  593. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement