OSDN Git Service

初回コミット(v2.6.17.1)
[magic3/magic3.git] / templates / tft0006j_back_to_nature / html / com_contact / contact / default.php
1 <?php\r\r
2 defined( '_JEXEC' ) or die( 'Restricted access' );\r\r
3 \r\r
4 $cparams = JComponentHelper::getParams ('com_media');\r\r
5 ?>\r\r
6 <div class="Post">\r\r
7     <div class="Post-tl"></div>\r\r
8     <div class="Post-tr"><div></div></div>\r\r
9     <div class="Post-bl"><div></div></div>\r\r
10     <div class="Post-br"><div></div></div>\r\r
11     <div class="Post-tc"><div></div></div>\r\r
12     <div class="Post-bc"><div></div></div>\r\r
13     <div class="Post-cl"><div></div></div>\r\r
14     <div class="Post-cr"><div></div></div>\r\r
15     <div class="Post-cc"></div>\r\r
16     <div class="Post-body">\r\r
17 <div class="Post-inner">\r\r
18 \r\r
19 <?php if ($this->params->get('show_page_title', 1) && !$this->contact->params->get( 'popup' ) && $this->params->get('page_title') != $this->contact->name ): ?>\r\r
20 <h2 class="PostHeaderIcon-wrapper"><?php echo JHTML::_('image.site', 'PostHeaderIcon.png', null, null, null, JText::_("PostHeaderIcon"), array('width' => '29', 'height' => '29')); ?> <span class="PostHeader">\r\r
21 <span class="componentheading<?php echo $this->params->get('pageclass_sfx')?>"><?php echo $this->escape($this->params->get('page_title')); ?></span>\r\r
22 </span>\r\r
23 </h2>\r\r
24 \r\r
25 <?php endif; ?>\r\r
26 <div class="PostContent">\r\r
27 \r\r
28 <div id="component-contact">\r\r
29 <table width="100%" cellpadding="0" cellspacing="0" border="0" class="contentpaneopen<?php echo $this->params->get( 'pageclass_sfx' ); ?>">\r\r
30 <?php if ( $this->params->get( 'show_contact_list' ) && count( $this->contacts ) > 1) : ?>\r\r
31 <tr>\r\r
32         <td colspan="2" align="center">\r\r
33                 <br />\r\r
34                 <form action="<?php echo JRoute::_('index.php') ?>" method="post" name="selectForm" id="selectForm">\r\r
35                 <?php echo JText::_( 'Select Contact' ); ?>:\r\r
36                         <br />\r\r
37                         <?php echo JHTML::_('select.genericlist',  $this->contacts, 'contact_id', 'class="inputbox" onchange="this.form.submit()"', 'id', 'name', $this->contact->id);?>\r\r
38                         <option type="hidden" name="option" value="com_contact" />\r\r
39                 </form>\r\r
40         </td>\r\r
41 </tr>\r\r
42 <?php endif; ?>\r\r
43 <?php if ( $this->contact->name && $this->contact->params->get( 'show_name' ) ) : ?>\r\r
44 <tr>\r\r
45         <td width="100%" class="contentheading<?php echo $this->params->get( 'pageclass_sfx' ); ?>">\r\r
46                 <?php echo $this->contact->name; ?>\r\r
47         </td>\r\r
48 </tr>\r\r
49 <?php endif; ?>\r\r
50 <?php if ( $this->contact->con_position && $this->contact->params->get( 'show_position' ) ) : ?>\r\r
51 <tr>\r\r
52         <td colspan="2">\r\r
53         <?php echo $this->contact->con_position; ?>\r\r
54                 <br /><br />\r\r
55         </td>\r\r
56 </tr>\r\r
57 <?php endif; ?>\r\r
58 <tr>\r\r
59         <td>\r\r
60                 <table border="0" width="100%">\r\r
61                 <tr>\r\r
62                         <td></td>\r\r
63                         <td rowspan="2" align="right" valign="top">\r\r
64                         <?php if ( $this->contact->image && $this->contact->params->get( 'show_image' ) ) : ?>\r\r
65                                 <div style="float: right;">\r\r
66                                         <?php echo JHTML::_('image', $cparams->get('image_path') . '/'.$this->contact->image, JText::_( 'Contact' ), array('align' => 'middle')); ?>\r\r
67                                 </div>\r\r
68                         <?php endif; ?>\r\r
69                         </td>\r\r
70                 </tr>\r\r
71                 <tr>\r\r
72                         <td>\r\r
73                                 <?php echo $this->loadTemplate('address'); ?>\r\r
74                         </td>\r\r
75                 </tr>\r\r
76                 </table>\r\r
77         </td>\r\r
78         <td>&nbsp;</td>\r\r
79 </tr>\r\r
80 <?php if ( $this->contact->params->get( 'allow_vcard' ) ) : ?>\r\r
81 <tr>\r\r
82         <td colspan="2">\r\r
83         <?php echo JText::_( 'Download information as a' );?>\r\r
84                 <a href="<?php echo JURI::base(); ?>index.php?option=com_contact&amp;task=vcard&amp;contact_id=<?php echo $this->contact->id; ?>&amp;format=raw&amp;tmpl=component">\r\r
85                         <?php echo JText::_( 'VCard' );?></a>\r\r
86         </td>\r\r
87 </tr>\r\r
88 <?php endif;\r\r
89 if ( $this->contact->params->get('show_email_form') && ($this->contact->email_to || $this->contact->user_id))\r\r
90         echo $this->loadTemplate('form');\r\r
91 ?>\r\r
92 </table>\r\r
93 </div>\r\r
94 \r\r
95 </div>\r\r
96 <div class="cleared"></div>\r\r
97 \r\r
98 \r\r
99 </div>\r\r
100 \r\r
101     </div>\r\r
102 </div>\r\r
103 \r\r