-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaintable.php
71 lines (63 loc) · 3.32 KB
/
maintable.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<div class="newmaintable2home">
<div class="hpContainer">
<div style="background-image:url(<?php echo get_template_directory_uri() ?>/images/front.gif);" id="topblock"
class="topblock">
<div class="leftpanel">
<div id="lpanel1" class="activepanelleft Dark">
<div class="featured">
<div style="margin-top:220px">
<div align="float:left"><img
src="<?php echo get_template_directory_uri() ?>/images/latest-news.PNG"></div>
<?php query_posts("showposts=3&category_name=News");
$i = 1; ?>
<?php while (have_posts()) :
the_post(); ?>
<div class="info2">
<div style="padding-top="
10px"><h3><a href="<?php the_permalink() ?>" rel="bookmark"
class="title"><?php the_title(); ?></h3></a>
<div class="meta2"><?php the_time('j M Y') ?></div>
</div>
<?php $values = get_post_custom_values("Image");
if (isset($values[0])) {
?>
<b><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"></b>
<img src="<?php $values = get_post_custom_values("Image");
echo $values[0]; ?>"&w=200&h=120&zc=1&q=100
alt="<?php the_title(); ?>" class="left" width="200px" height="120px" /></a>
</div>
<?php } ?>
<?php endwhile; ?>
<div class="clearfloat">
<div align="float:left">
<div style="margin-top:190px">
<A HREF="http://www.scouts.org.uk/join" target="_blank"
onmouseover="document.but.src='<?php echo get_template_directory_uri() ?>/images/join-mouseover.gif'"
onmouseout="document.but.src='<?php echo get_template_directory_uri() ?>/images/join.gif'">
<IMG SRC="<?php echo get_template_directory_uri() ?>/images/join.gif" NAME="but"
BORDER="0" ALT="Join the adventure!"></A>
</div>
</div>
</div>
</div>
</div>
<div rel="earth,2," id="rpanel2" class="rightpanelcontent">
<h2 class="Dark">
</h2>
<p></p>
</div>
<div rel="aubergine,3," id="rpanel3" class="rightpanelcontent">
<h2 class="Dark">
</h2>
<p></p>
</div>
<div rel="ocean,4," id="rpanel4" class="rightpanelcontent lastpanel">
<h2 class="Dark">
</h2>
<p></p>
</div>
</div>
</div>
</div>
</div>
</div>