OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / templates / webstyles_flowers / html / com_wrapper / wrapper / default.php
1 <?php // no direct access
2 defined('_JEXEC') or die('Restricted access'); ?>
3 <script language="javascript" type="text/javascript">
4 function iFrameHeight() {
5         var h = 0;
6         if ( !document.all ) {
7                 h = document.getElementById('blockrandom').contentDocument.height;
8                 document.getElementById('blockrandom').style.height = h + 60 + 'px';
9         } else if( document.all ) {
10                 h = document.frames('blockrandom').document.body.scrollHeight;
11                 document.all.blockrandom.style.height = h + 20 + 'px';
12         }
13 }
14 </script>
15 <div class="Post">
16     <div class="Post-tl"></div>
17     <div class="Post-tr"><div></div></div>
18     <div class="Post-bl"><div></div></div>
19     <div class="Post-br"><div></div></div>
20     <div class="Post-tc"><div></div></div>
21     <div class="Post-bc"><div></div></div>
22     <div class="Post-cl"><div></div></div>
23     <div class="Post-cr"><div></div></div>
24     <div class="Post-cc"></div>
25     <div class="Post-body">
26 <div class="Post-inner">
27
28 <?php if ($this->params->def('show_page_title', 1)): ?>
29 <h2 class="PostHeaderIcon-wrapper"> <span class="PostHeader">
30 <span class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"><?php echo $this->escape($this->params->get('page_title')); ?></span>
31 </span>
32 </h2>
33
34 <?php endif; ?>
35 <div class="PostContent">
36
37 <iframe <?php echo $this->wrapper->load; ?>
38         id="blockrandom"
39         name="iframe"
40         src="<?php echo $this->wrapper->url; ?>"
41         width="<?php echo $this->params->get( 'width' ); ?>"
42         height="<?php echo $this->params->get( 'height' ); ?>"
43         scrolling="<?php echo $this->params->get( 'scrolling' ); ?>"
44         align="top"
45         frameborder="0"
46         class="wrapper<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
47         <?php echo JText::_( 'NO_IFRAMES' ); ?>
48 </iframe>
49
50 </div>
51 <div class="cleared"></div>
52
53
54 </div>
55
56     </div>
57 </div>
58