-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtemplate_android.php
More file actions
83 lines (64 loc) · 5.61 KB
/
template_android.php
File metadata and controls
83 lines (64 loc) · 5.61 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
<div id="android" class="content androidtemp <?php if($apfy_androidOrientation == 0) echo "portrait"; else echo "landscape"; ?> <?php if($apfy_android_isdefault){?>current<?php } ?>">
<div class="content-main">
<?php include (TEMPLATEPATH . '/includes/appName_logo.php'); ?>
<?php if ($apfy_android_app_description) { ?>
<div class="caption"><?php echo stripslashes($apfy_android_app_description); ?></div>
<?php } else { ?>
<p class="caption">Welcome to AppifyWP! You can replace this message with your app's description by modifying your <a href="<?php bloginfo('wpurl'); ?>/wp-admin/themes.php?page=appify_controlpanel.php">AppifyWP Settings</a>.<br/><br/>For further help be sure to check out the getting started guide below.</p>
<?php } ?>
<div class="nexus-wrapper">
<div class="nexus"></div>
<div class="slideshow-wrapper">
<!-- root element for scrollable -->
<div class="scrollable<?php if ($apfy_androidFeatureType == 1){ ?> video<?php } ?>">
<div class="slideshow">
<?php if ($apfy_androidFeatureType == 1){ ?>
<?php if ($apfy_android_videoID) { ?>
<?php if( is_numeric($apfy_android_videoID) ){ ?>
<iframe src="http://player.vimeo.com/video/<?php echo $apfy_android_videoID; ?>?title=0&byline=0&portrait=0&color=ffffff" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
<?php } else { ?>
<iframe src="http://www.youtube.com/embed/<?php echo $apfy_android_videoID; ?>?rel=0&autohide=1&egm=1&modestbranding=1&showinfo=0&wmode=opaque" frameborder="0" allowfullscreen controls="0" wmode="opaque"></iframe>
<?php } ?>
<?php } else { ?>
<h3>No Video ID Found</h3><p>Go to <a href="<?php bloginfo('wpurl'); ?>/wp-admin/themes.php?page=appify_controlpanel.php">AppifyWP Settings</a> to enter the YouTube or Vimeo video ID</p>
<?php } ?>
<?php } else { ?>
<?php if ($apfy_android_appImg1 || $apfy_android_appImg2 || $apfy_android_appImg3 || $apfy_android_appImg4 || $apfy_android_appImg5 || $apfy_android_appImg6 || $apfy_android_appImg7 || $apfy_android_appImg8) { ?>
<?php if ($apfy_android_appImg1) { ?><div><a href="<?php echo $apfy_android_appImg1; ?>"><img src="<?php echo $apfy_android_appImg1; ?>"/></a></div><?php } ?>
<?php if ($apfy_android_appImg2) { ?><div><a href="<?php echo $apfy_android_appImg2; ?>"><img src="<?php echo $apfy_android_appImg2; ?>"/></a></div><?php } ?>
<?php if ($apfy_android_appImg3) { ?><div><a href="<?php echo $apfy_android_appImg3; ?>"><img src="<?php echo $apfy_android_appImg3; ?>"/></a></div><?php } ?>
<?php if ($apfy_android_appImg4) { ?><div><a href="<?php echo $apfy_android_appImg4; ?>"><img src="<?php echo $apfy_android_appImg4; ?>"/></a></div><?php } ?>
<?php if ($apfy_android_appImg5) { ?><div><a href="<?php echo $apfy_android_appImg5; ?>"><img src="<?php echo $apfy_android_appImg5; ?>"/></a></div><?php } ?>
<?php if ($apfy_android_appImg6) { ?><div><a href="<?php echo $apfy_android_appImg6; ?>"><img src="<?php echo $apfy_android_appImg6; ?>"/></a></div><?php } ?>
<?php if ($apfy_android_appImg7) { ?><div><a href="<?php echo $apfy_android_appImg7; ?>"><img src="<?php echo $apfy_android_appImg7; ?>"/></a></div><?php } ?>
<?php if ($apfy_android_appImg8) { ?><div><a href="<?php echo $apfy_android_appImg8; ?>"><img src="<?php echo $apfy_android_appImg8; ?>"/></a></div><?php } ?>
<?php } else { ?>
<div class="noscreenshots"><h3>No Screenshots</h3><p>Go to <a href="<?php bloginfo('wpurl'); ?>/wp-admin/themes.php?page=appify_controlpanel.php">AppifyWP Settings</a> to add your app's screenshots</p></div>
<?php } ?>
<?php } ?>
</div>
</div><!-- end scrollable -->
</div><!-- end slideshow wrapper -->
<?php if ($apfy_androidFeatureType == 0){ ?>
<?php if ($apfy_android_appImg1 || $apfy_android_appImg2 || $apfy_android_appImg3 || $apfy_android_appImg4 || $apfy_android_appImg5 || $apfy_android_appImg6 || $apfy_android_appImg7 || $apfy_android_appImg8) { ?>
<div class="slideshow-nav<?php if ($apfy_android_autoplay) { ?> autoplayslideshow<?php } ?>">
<div class="slideshow-buttons navi"></div>
</div><!-- end slideshow nav -->
<?php } ?>
<?php } ?>
</div><!-- end iPhone wrapper -->
<div class="droidstuffs">
<?php if ($apfy_android_appURL) { ?>
<div class="buynow">
<a style="background:#222" class="fancy_button" href="<?php echo $apfy_android_appURL; ?>"><span>Download Now</span></a>
</div>
<?php } ?>
<?php if ($apfy_android_QRcode) { ?>
<div class="qrcode"><img src="<?php echo $apfy_android_QRcode; ?>" alt="QR Code - Link to Android Market" border="0"/></div>
<?php } ?>
<div class="clear"></div>
</div><!-- end droid stuffs -->
<div class="clear"></div>
</div><!-- end content main -->
<div class="clear"></div>
</div><!-- end content -->