PageRenderTime 7ms CodeModel.GetById 191ms app.highlight 346ms RepoModel.GetById 188ms app.codeStats 0ms

/trunk/rucrm/Smarty/templates_c/%%B8^B8A^B8AE4258%%Header.tpl.php

https://code.google.com/p/vtiger-ru-fork/
PHP | 898 lines | 853 code | 45 blank | 0 comment | 71 complexity | 54d33acfbbbd3e5f565e1c3b3e1f1d01 MD5 | raw file
  1<?php /* Smarty version 2.6.18, created on 2011-03-13 17:56:36
  2         compiled from Header.tpl */ ?>
  3<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
  4smarty_core_load_plugins(array('plugins' => array(array('modifier', 'vtiger_imageurl', 'Header.tpl', 78, false),array('modifier', 'escape', 'Header.tpl', 86, false),array('modifier', 'getTranslatedString', 'Header.tpl', 112, false),array('modifier', 'vtlib_purify', 'Header.tpl', 388, false),array('function', 'math', 'Header.tpl', 637, false),)), $this); ?>
  5<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  6<html>
  7<head>
  8	<title><?php echo $this->_tpl_vars['CURRENT_USER']; ?>
  9 - <?php echo $this->_tpl_vars['APP'][$this->_tpl_vars['CATEGORY']]; ?>
 10 - <?php echo $this->_tpl_vars['APP'][$this->_tpl_vars['MODULE_NAME']]; ?>
 11 - <?php echo $this->_tpl_vars['APP']['LBL_BROWSER_TITLE']; ?>
 12</title>
 13	<link REL="SHORTCUT ICON" HREF="themes/images/vtigercrm_icon.ico">	
 14	<style type="text/css">@import url("themes/<?php echo $this->_tpl_vars['THEME']; ?>
 15/style.css");</style>
 16	<link rel="stylesheet" type="text/css" media="all" href="jscalendar/calendar-win2k-cold-1.css">
 17		<?php if ($this->_tpl_vars['HEADERCSS']): ?>
 18		<!-- Custom Header CSS -->
 19		<?php $_from = $this->_tpl_vars['HEADERCSS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
 20    foreach ($_from as $this->_tpl_vars['HDRCSS']):
 21?>
 22			<link rel="stylesheet" type="text/css" href="<?php echo $this->_tpl_vars['HDRCSS']->linkurl; ?>
 23"></script>
 24		<?php endforeach; endif; unset($_from); ?>
 25		<!-- END -->
 26	<?php endif; ?>
 27		<!-- ActivityReminder customization for callback -->
 28	<?php echo '
 29	<style type="text/css">div.fixedLay1 { position:fixed; }</style>
 30	<!--[if lte IE 6]>
 31	<style type="text/css">div.fixedLay { position:absolute; }</style>
 32	<![endif]-->
 33	'; ?>
 34
 35	<!-- End -->
 36</head>
 37	<body leftmargin=0 topmargin=0 marginheight=0 marginwidth=0 class=small>
 38	<a name="top"></a>
 39	<!-- header -->
 40	<!-- header-vtiger crm name & RSS -->
 41	<script language="JavaScript" type="text/javascript" src="include/js/json.js"></script>
 42	<script language="JavaScript" type="text/javascript" src="include/js/general.js"></script>
 43	<!-- vtlib customization: Javascript hook -->	
 44	<script language="JavaScript" type="text/javascript" src="include/js/vtlib.js"></script>
 45	<!-- END -->
 46	<script language="JavaScript" type="text/javascript" src="include/js/<?php  echo $_SESSION['authenticated_user_language']; ?>.lang.js?<?php  echo $_SESSION['vtiger_version']; ?>"></script>
 47	<script language="JavaScript" type="text/javascript" src="include/js/QuickCreate.js"></script>
 48	<script language="javascript" type="text/javascript" src="include/scriptaculous/prototype.js"></script>
 49	<script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script>
 50	<script language="JavaScript" type="text/javascript" src="include/calculator/calc.js"></script>
 51	<script language="JavaScript" type="text/javascript" src="modules/Calendar/script.js"></script>
 52	<script language="javascript" type="text/javascript" src="include/scriptaculous/dom-drag.js"></script>
 53	<script language="JavaScript" type="text/javascript" src="include/js/notificationPopup.js"></script>
 54        <script type="text/javascript" src="jscalendar/calendar.js"></script>
 55        <script type="text/javascript" src="jscalendar/calendar-setup.js"></script>
 56        <script type="text/javascript" src="jscalendar/lang/calendar-<?php echo $this->_tpl_vars['APP']['LBL_JSCALENDAR_LANG']; ?>
 57.js"></script>
 58        
 59    <!-- asterisk Integration -->
 60    <?php if ($this->_tpl_vars['USE_ASTERISK'] == 'true'): ?>
 61    	<script type="text/javascript" src="include/js/asterisk.js"></script>
 62    	<script type="text/javascript">
 63    	if(typeof(use_asterisk) == 'undefined') use_asterisk = true;
 64    	</script>
 65    <?php endif; ?>
 66    <!-- END -->
 67
 68		<?php if ($this->_tpl_vars['HEADERSCRIPTS']): ?>
 69		<!-- Custom Header Script -->
 70		<?php $_from = $this->_tpl_vars['HEADERSCRIPTS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
 71    foreach ($_from as $this->_tpl_vars['HEADERSCRIPT']):
 72?>
 73			<script type="text/javascript" src="<?php echo $this->_tpl_vars['HEADERSCRIPT']->linkurl; ?>
 74"></script>
 75		<?php endforeach; endif; unset($_from); ?>
 76		<!-- END -->
 77	<?php endif; ?>
 78		
 79	    <img src="<?php echo vtiger_imageurl('layerPopupBg.gif', $this->_tpl_vars['THEME']); ?>
 80" style="display: none;"/>
 81    
 82	<TABLE border=0 cellspacing=0 cellpadding=0 width=100% class="hdrNameBg">
 83	<tr>
 84		<!-- <td valign=top><img src="<?php echo vtiger_imageurl('vtiger-crm.gif', $this->_tpl_vars['THEME']); ?>
 85" alt="vtiger CRM" title="vtiger CRM" border=0></td> -->
 86		<td width=100% align=center>
 87		<?php if ($this->_tpl_vars['APP'][$this->_tpl_vars['MODULE_NAME']] == 'Dashboards'): ?>
 88		<marquee id="rss" direction="left" scrolldelay="10" scrollamount="3" behavior="scroll" class="marStyle" onMouseOver="javascript:stop();" onMouseOut="javascript:start();">&nbsp;<?php echo ((is_array($_tmp=$this->_tpl_vars['ANNOUNCEMENT'])) ? $this->_run_mod_handler('escape', true, $_tmp) : smarty_modifier_escape($_tmp)); ?>
 89</marquee>
 90		<?php else: ?>
 91                <marquee id="rss" direction="left" scrolldelay="10" scrollamount="3" behavior="scroll" class="marStyle" onMouseOver="javascript:stop();" onMouseOut="javascript:start();">&nbsp;<?php echo $this->_tpl_vars['ANNOUNCEMENT']; ?>
 92</marquee>
 93                <?php endif; ?>		
 94		</td>
 95		<td class=small nowrap>
 96			<table border=0 cellspacing=0 cellpadding=0>
 97			 <tr>
 98			
 99						<?php if ($this->_tpl_vars['HEADERLINKS']): ?>
100			<td style="padding-left:10px;padding-right:5px" class=small nowrap>
101				<a href="javascript:;" onmouseover="fnvshobj(this,'vtlib_headerLinksLay');" onclick="fnvshobj(this,'vtlib_headerLinksLay');"><?php echo $this->_tpl_vars['APP']['LBL_MORE']; ?>
102</a> <img src="<?php echo vtiger_imageurl('arrow_down.gif', $this->_tpl_vars['THEME']); ?>
103" border=0>
104				<div style="display: none; left: 193px; top: 106px;width:155px; position:absolute;" id="vtlib_headerLinksLay" 
105					onmouseout="fninvsh('vtlib_headerLinksLay')" onmouseover="fnvshNrm('vtlib_headerLinksLay')">
106					<table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
107					<tr><td style="border-bottom: 1px solid rgb(204, 204, 204); padding: 5px;"><b><?php echo $this->_tpl_vars['APP']['LBL_MORE']; ?>
108</b></td></tr>
109					<tr>
110						<td>
111							<?php $_from = $this->_tpl_vars['HEADERLINKS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
112    foreach ($_from as $this->_tpl_vars['HEADERLINK']):
113?>
114								<?php $this->assign('headerlink_href', $this->_tpl_vars['HEADERLINK']->linkurl); ?>
115								<?php $this->assign('headerlink_label', $this->_tpl_vars['HEADERLINK']->linklabel); ?>
116								<?php if ($this->_tpl_vars['headerlink_label'] == ''): ?>
117									<?php $this->assign('headerlink_label', $this->_tpl_vars['headerlink_href']); ?>
118								<?php else: ?>
119																		<?php $this->assign('headerlink_label', getTranslatedString($this->_tpl_vars['headerlink_label'], $this->_tpl_vars['HEADERLINK']->module())); ?>
120								<?php endif; ?>
121								<a href="<?php echo $this->_tpl_vars['headerlink_href']; ?>
122" class="drop_down"><?php echo $this->_tpl_vars['headerlink_label']; ?>
123</a>
124							<?php endforeach; endif; unset($_from); ?>
125						</td>
126					</tr>
127					</table>
128				</div>
129			</td>
130			<?php endif; ?>
131						
132			<!-- gmailbookmarklet customization -->
133			 <td style="padding-left:10px;padding-right:10px" class=small nowrap>
134				<?php echo $this->_tpl_vars['GMAIL_BOOKMARKLET']; ?>
135
136			 </td>
137			 <!-- END -->
138			 <?php if ($this->_tpl_vars['ADMIN_LINK'] != ''): ?> 			<!-- <td style="padding-left:10px;padding-right:10px" class=small nowrap> <a href="javascript:void(0);" onclick="vtiger_news(this)"><?php echo $this->_tpl_vars['APP']['LBL_VTIGER_NEWS']; ?>
139</a></td> -->
140			<!-- <td style="padding-left:10px;padding-right:10px" class=small nowrap> <a href="javascript:void(0);" onclick="vtiger_feedback();"><?php echo $this->_tpl_vars['APP']['LBL_FEEDBACK']; ?>
141</a></td> -->
142			 <?php endif; ?>
143
144			 <td style="padding-left:10px;padding-right:10px" class=small nowrap> <a href="index.php?module=Users&action=DetailView&record=<?php echo $this->_tpl_vars['CURRENT_USER_ID']; ?>
145&modechk=prefview"><?php echo $this->_tpl_vars['APP']['LBL_MY_PREFERENCES']; ?>
146</a></td>
147			 <td style="padding-left:10px;padding-right:10px" class=small nowrap><a href="http://wiki.vtiger.com/index.php/Main_Page" target="_blank"><?php echo $this->_tpl_vars['APP']['LNK_HELP']; ?>
148</a></td>
149			<!-- <td style="padding-left:10px;padding-right:10px" class=small nowrap><a href="javascript:;" onClick="openwin();"><?php echo $this->_tpl_vars['APP']['LNK_WEARE']; ?>
150</a></td> -->
151			<td style="padding-left:10px;padding-right:10px" class=small nowrap> <a href="index.php?module=Users&action=Logout"><?php echo $this->_tpl_vars['APP']['LBL_LOGOUT']; ?>
152</a> (<?php echo $this->_tpl_vars['CURRENT_USER']; ?>
153)</td> 
154			 </tr>
155			</table>
156		</td>
157	</tr>
158	</TABLE>
159
160<div id='miniCal' style='width:300px; position:absolute; display:none; left:100px; top:100px; z-index:100000'>
161</div>
162
163<?php if ($this->_tpl_vars['MODULE_NAME'] == 'Calendar'): ?>
164<div id="CalExport" style="width:300px; position:absolute; display:none; left:500px; top:100px; z-index:100000" class="layerPopup">
165	<table border=0 cellspacing=0 cellpadding=5 width=100% class=layerHeadingULine>
166	<tr>
167		<td class="genHeaderSmall" nowrap align="left" width="30%" ><?php echo $this->_tpl_vars['APP']['LBL_EXPORT']; ?>
168 </td>
169		<td align="right"><a href='javascript:ghide("CalExport");'><img src="<?php echo vtiger_imageurl('close.gif', $this->_tpl_vars['THEME']); ?>
170" align="right" border="0"></a></td>
171	</tr>
172	</table>
173	<table border=0 cellspacing=0 cellpadding=5 width=95% align=center> 
174	<tr>
175		<td class="small">
176			<table border=0 celspacing=0 cellpadding=5 width=100% align=center bgcolor=white>
177			<tr>
178				<td align="right" nowrap class="cellLabel small">
179					<input class="small" type='radio' name='exportCalendar' value = 'iCal' onclick="$('ics_filename').removeAttribute('disabled');" checked /> iCal Format
180				</td>
181				<td align="left">
182					<input class="small" type='text' name='ics_filename' id='ics_filename' size='25' value='vtiger.calendar'/>
183				</td>
184			</tr>
185			</table>
186		</td>
187	</tr>
188	</table>
189	<table border=0 cellspacing=0 cellpadding=5 width=100% class="layerPopupTransport">
190	<tr>
191		<td class="small" align="center">
192		<input type="button" onclick="return exportCalendar();" value="Export" class="crmbutton small edit" name="button"/>
193		</td>
194	</tr>
195	</table>
196</div>
197<div id='CalImport' style='width:300px; position:absolute; display:none; left:500px; top:100px; z-index:100000' class="layerPopup">
198	<?php $this->assign('label_filename', 'LBL_FILENAME'); ?>
199	<form name='ical_import' id='ical_import' onsubmit="VtigerJS_DialogBox.block();" enctype="multipart/form-data" action="index.php" method="POST">
200	<input type='hidden' name='module' value=''>
201	<input type='hidden' name='action' value=''>
202		<table border=0 cellspacing=0 cellpadding=5 width=100% class=layerHeadingULine>
203			<tr>
204				<td class="genHeaderSmall" nowrap align="left" width="30%" id="editfolder_info"><?php echo $this->_tpl_vars['APP']['LBL_IMPORT']; ?>
205</td>
206				<td align="right"><a href='javascript:ghide("CalImport");'><img src="<?php echo vtiger_imageurl('close.gif', $this->_tpl_vars['THEME']); ?>
207" align="absmiddle" border="0"></a></td>
208			</tr>
209		</table>
210		<table border=0 cellspacing=0 cellpadding=5 width=95% align=center> 
211			<tr>
212				<td class="small">
213					<table border=0 celspacing=0 cellpadding=5 width=100% align=center bgcolor=white>
214						<tr>
215							<td align="right" nowrap class="cellLabel small"><b><?php echo getTranslatedString($this->_tpl_vars['label_filename']); ?>
216 </b></td>
217							<td align="left">
218								<input class="small" type='file' name='ics_file' id='ics_file'/>
219							</td>
220						</tr>
221					</table>
222				</td>
223			</tr>
224		</table>
225		<table border=0 cellspacing=0 cellpadding=5 width=100% class="layerPopupTransport">
226			<tr>
227				<td class="small" align="center">
228				<input type="button" onclick="return importCalendar();" value="Import" class="crmbutton small edit" name="button"/>
229				</td>
230			</tr>
231		</table>
232	</form>
233</div>
234<?php endif; ?>
235<!-- header - master tabs -->
236<TABLE border=0 cellspacing=0 cellpadding=0 width=100% class="hdrTabBg">
237<tr>
238<!-- LOGO -->
239	 <td style="width:150px" class=small>&nbsp;<img border="0" title="vtiger CRM" <img src="<?php echo vtiger_imageurl('vtiger-crm.gif', $this->_tpl_vars['THEME']); ?>
240" width=150px height=35px></td> 
241	<!-- <td style="width:150px" class=small>&nbsp;</td> -->
242	<td class=small nowrap> 
243		<table border=0 cellspacing=0 cellpadding=0>
244
245		<tr>
246	<!--		<td class=tabSeperator><img src="<?php echo vtiger_imageurl('spacer.gif', $this->_tpl_vars['THEME']); ?>
247" width=2px height=28px></td>		-->
248			<?php $_from = $this->_tpl_vars['HEADERS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
249    foreach ($_from as $this->_tpl_vars['maintabs'] => $this->_tpl_vars['detail']):
250?>
251				<?php if ($this->_tpl_vars['maintabs'] != $this->_tpl_vars['CATEGORY']): ?>
252				  <td class="tabUnSelected"  onmouseover="fnDropDown(this,'<?php echo $this->_tpl_vars['maintabs']; ?>
253_sub');" onmouseout="fnHideDrop('<?php echo $this->_tpl_vars['maintabs']; ?>
254_sub');" align="center" nowrap><a href="index.php?module=<?php echo $this->_tpl_vars['detail'][0]; ?>
255&action=index&parenttab=<?php echo $this->_tpl_vars['maintabs']; ?>
256"><?php echo $this->_tpl_vars['APP'][$this->_tpl_vars['maintabs']]; ?>
257</a><img src="<?php echo vtiger_imageurl('menuDnArrow.gif', $this->_tpl_vars['THEME']); ?>
258" border=0 style="padding-left:5px"></td>
259				  <td class="tabSeperator"><img src="<?php echo vtiger_imageurl('spacer.gif', $this->_tpl_vars['THEME']); ?>
260"></td>
261				<?php else: ?>
262				  <td class="tabSelected"  onmouseover="fnDropDown(this,'<?php echo $this->_tpl_vars['maintabs']; ?>
263_sub');" onmouseout="fnHideDrop('<?php echo $this->_tpl_vars['maintabs']; ?>
264_sub');" align="center" nowrap><a href="index.php?module=<?php echo $this->_tpl_vars['detail'][0]; ?>
265&action=index&parenttab=<?php echo $this->_tpl_vars['maintabs']; ?>
266"><?php echo $this->_tpl_vars['APP'][$this->_tpl_vars['maintabs']]; ?>
267</a><img src="<?php echo vtiger_imageurl('menuDnArrow.gif', $this->_tpl_vars['THEME']); ?>
268" border=0 style="padding-left:5px"></td>
269				  <td class="tabSeperator"><img src="<?php echo vtiger_imageurl('spacer.gif', $this->_tpl_vars['THEME']); ?>
270"></td>
271				<?php endif; ?>
272			<?php endforeach; endif; unset($_from); ?>
273			<td style="padding-left:10px" nowrap>
274				<?php if ($this->_tpl_vars['CNT'] == 1): ?>
275					<select class=small id="qccombo" style="width:140px"  onclick="QCreate(this);">
276						<option value="none"><?php echo $this->_tpl_vars['APP']['LBL_QUICK_CREATE']; ?>
277...</option>
278                        <?php $_from = $this->_tpl_vars['QCMODULE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
279    foreach ($_from as $this->_tpl_vars['detail']):
280?>
281                        <option value="<?php echo $this->_tpl_vars['detail']['1']; ?>
282"><?php echo $this->_tpl_vars['APP']['NEW']; ?>
283&nbsp;<?php echo $this->_tpl_vars['detail']['0']; ?>
284</option>
285                        <?php endforeach; endif; unset($_from); ?>
286					</select>
287				<?php else: ?>
288					<select class=small id="qccombo" style="width:140px"  onchange="QCreate(this);">
289						<option value="none"><?php echo $this->_tpl_vars['APP']['LBL_QUICK_CREATE']; ?>
290...</option>
291                        <?php $_from = $this->_tpl_vars['QCMODULE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
292    foreach ($_from as $this->_tpl_vars['detail']):
293?>
294                        <option value="<?php echo $this->_tpl_vars['detail']['1']; ?>
295"><?php echo $this->_tpl_vars['APP']['NEW']; ?>
296&nbsp;<?php echo $this->_tpl_vars['detail']['0']; ?>
297</option>
298                        <?php endforeach; endif; unset($_from); ?>
299					</select>
300				<?php endif; ?>	
301			</td>
302		</tr>
303
304		</table>
305	</td>
306	<!-- ////////////////////////////////////////////////////////////////////////// -->
307	
308	<td align=right style="padding-right:20px" nowrap >
309		<table border=1 cellspacing=0 cellpadding=0 id="search" style="border:0px solid #999999;background-color:white">
310		   <tr>
311			<form name="UnifiedSearch" method="post" action="index.php" style="margin:1px" onsubmit="VtigerJS_DialogBox.block();">
312			<td style="height:19px;background-color:#ffffef" nowrap>
313				<a href='javascript:void(0);' onclick="UnifiedSearch_SelectModuleForm(this);"><img src="<?php echo vtiger_imageurl('settings_top.gif', $this->_tpl_vars['THEME']); ?>
314" align='left' border=0></a>
315				<input type="hidden" name="action" value="UnifiedSearch" style="margin:0px">
316				<input type="hidden" name="module" value="Home" style="margin:0px">
317				<input type="hidden" name="parenttab" value="<?php echo $this->_tpl_vars['CATEGORY']; ?>
318" style="margin:0px">
319				<input type="hidden" name="search_onlyin" value="--USESELECTED--" style="margin:0px">
320				<input type="text" name="query_string" value="<?php echo $this->_tpl_vars['QUERY_STRING']; ?>
321" class="searchBox" onFocus="this.value=''" >
322			</td>
323			<td style="background-color:#cccccc">
324				<input type="submit" class="searchBtn" value="<?php echo $this->_tpl_vars['APP']['LBL_FIND_BUTTON']; ?>
325" alt="<?php echo $this->_tpl_vars['APP']['LBL_FIND']; ?>
326" title="<?php echo $this->_tpl_vars['APP']['LBL_FIND']; ?>
327"> 
328			</td>
329			</form>
330		   </tr>   
331		</table>
332		<!-- ???? ? ????? 
333		<tr>
334		 <td style="padding-left:5px;padding-right:5px" class=small nowrap><a href="index.php?module=Users&action=Logout"><?php echo $this->_tpl_vars['APP']['LBL_LOGOUT']; ?>
335><img src="<?php echo vtiger_imageurl('exit.gif', $this->_tpl_vars['THEME']); ?>
336"</a> (<?php echo $this->_tpl_vars['CURRENT_USER']; ?>
337)</td>
338		</tr> -->
339		 <!--		 <td style="padding-left:10px;padding-right:10px" class=small nowrap><img src="<?php echo vtiger_imageurl('exit.gif', $this->_tpl_vars['THEME']); ?>
340"> <a href="index.php?module=Users&action=Logout"><?php echo $this->_tpl_vars['APP']['LBL_LOGOUT']; ?>
341</a> (<?php echo $this->_tpl_vars['CURRENT_USER']; ?>
342)</td> -->
343			 </tr>
344	</td>
345</td>
346</tr>
347</TABLE>
348<!-- - level 2 tabs starts-->
349<TABLE border=0 cellspacing=0 cellpadding=2 width=100% class="level2Bg" >
350<tr>
351	<td >
352		<table border=0 cellspacing=0 cellpadding=0>
353		<tr>
354			<!-- ASHA: Avoid using this as it gives module name instead of module label. 
355			Now Using the same array QUICKACCESS that is used to show drop down menu
356			(which gives both module name and module label)-->
357			<!--<?php $_from = $this->_tpl_vars['HEADERS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
358    foreach ($_from as $this->_tpl_vars['maintabs'] => $this->_tpl_vars['detail']):
359?>
360				<?php if ($this->_tpl_vars['maintabs'] == $this->_tpl_vars['CATEGORY']): ?>
361					<?php $_from = $this->_tpl_vars['detail']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
362    foreach ($_from as $this->_tpl_vars['number'] => $this->_tpl_vars['module']):
363?>
364						<?php $this->assign('modulelabel', $this->_tpl_vars['module']); ?>
365      					<?php if ($this->_tpl_vars['APP'][$this->_tpl_vars['module']]): ?> 
366      						<?php $this->assign('modulelabel', $this->_tpl_vars['APP'][$this->_tpl_vars['module']]); ?> 
367      					<?php endif; ?>
368						<?php if ($this->_tpl_vars['module'] == $this->_tpl_vars['MODULE_NAME']): ?>
369							<td class="level2SelTab" nowrap><a href="index.php?module=<?php echo $this->_tpl_vars['module']; ?>
370&action=index&parenttab=<?php echo $this->_tpl_vars['maintabs']; ?>
371"><?php echo $this->_tpl_vars['modulelabel']; ?>
372</a></td>
373						<?php else: ?>
374							<td class="level2UnSelTab" nowrap> <a href="index.php?module=<?php echo $this->_tpl_vars['module']; ?>
375&action=index&parenttab=<?php echo $this->_tpl_vars['maintabs']; ?>
376"><?php echo $this->_tpl_vars['modulelabel']; ?>
377</a> </td>
378						<?php endif; ?>	
379					<?php endforeach; endif; unset($_from); ?>
380				<?php endif; ?>
381			<?php endforeach; endif; unset($_from); ?>-->
382			
383			<?php $_from = $this->_tpl_vars['QUICKACCESS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
384    foreach ($_from as $this->_tpl_vars['maintabs'] => $this->_tpl_vars['details']):
385?>
386				<?php if ($this->_tpl_vars['maintabs'] == $this->_tpl_vars['CATEGORY']): ?>
387					<?php $_from = $this->_tpl_vars['details']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
388    foreach ($_from as $this->_tpl_vars['number'] => $this->_tpl_vars['modules']):
389?>
390						<?php $this->assign('modulelabel', getTranslatedString($this->_tpl_vars['modules'][1], $this->_tpl_vars['modules'][0])); ?>
391	   					
392	   											<?php $this->assign('moduleaction', 'index'); ?>
393	   					<?php if (isset ( $this->_tpl_vars['modules'][2] )): ?>
394	   						<?php $this->assign('moduleaction', $this->_tpl_vars['modules'][2]); ?>
395	   					<?php endif; ?>		
396	   									
397						<?php if ($this->_tpl_vars['modules']['0'] == $this->_tpl_vars['MODULE_NAME']): ?>
398							<td class="level2SelTab" nowrap><a href="index.php?module=<?php echo $this->_tpl_vars['modules']['0']; ?>
399&action=<?php echo $this->_tpl_vars['moduleaction']; ?>
400&parenttab=<?php echo $this->_tpl_vars['maintabs']; ?>
401"><?php echo $this->_tpl_vars['modulelabel']; ?>
402</a></td>
403						<?php else: ?>
404							<td class="level2UnSelTab" nowrap> <a href="index.php?module=<?php echo $this->_tpl_vars['modules']['0']; ?>
405&action=<?php echo $this->_tpl_vars['moduleaction']; ?>
406&parenttab=<?php echo $this->_tpl_vars['maintabs']; ?>
407"><?php echo $this->_tpl_vars['modulelabel']; ?>
408</a> </td>
409						<?php endif; ?>	
410					<?php endforeach; endif; unset($_from); ?>
411				<?php endif; ?>
412			<?php endforeach; endif; unset($_from); ?>
413		</tr>
414		</table>
415	</td>
416</tr>
417</TABLE>		
418<!-- Level 2 tabs ends -->
419<div id="calculator_cont" style="position:absolute; z-index:10000" ></div>
420	<?php $_smarty_tpl_vars = $this->_tpl_vars;
421$this->_smarty_include(array('smarty_include_tpl_file' => "Clock.tpl", 'smarty_include_vars' => array()));
422$this->_tpl_vars = $_smarty_tpl_vars;
423unset($_smarty_tpl_vars);
424 ?>
425
426<div id="qcform" style="position:absolute;width:700px;top:80px;left:450px;z-index:100000;"></div>
427
428<!-- Unified Search module selection feature -->
429<div id="UnifiedSearch_moduleformwrapper" style="position:absolute;width:400px;z-index:100002;display:none;"></div>
430<script type='text/javascript'>
431<?php echo '
432function UnifiedSearch_SelectModuleForm(obj) {
433	if($(\'UnifiedSearch_moduleform\')) {
434		// If we have loaded the form already.
435		UnifiedSearch_SelectModuleFormCallback(obj);
436	} else {
437		$(\'status\').show();
438		new Ajax.Request(
439		\'index.php\',
440		{queue: {position: \'end\', scope: \'command\'},
441			method: \'post\',
442			postBody: \'module=Home&action=HomeAjax&file=UnifiedSearchModules&ajax=true\',
443			onComplete: function(response) {
444				$(\'status\').hide();
445				$(\'UnifiedSearch_moduleformwrapper\').innerHTML = response.responseText;
446				UnifiedSearch_SelectModuleFormCallback(obj);
447			}
448		});
449	}
450}
451function UnifiedSearch_SelectModuleFormCallback(obj) {
452	fnvshobj(obj, \'UnifiedSearch_moduleformwrapper\');
453}
454function UnifiedSearch_SelectModuleToggle(flag) {
455	Form.getElements($(\'UnifiedSearch_moduleform\')).each(
456		function(element) {
457			if(element.type == \'checkbox\') {
458				element.checked = flag;
459			}
460		}
461	);
462}
463function UnifiedSearch_SelectModuleCancel() {
464	$(\'UnifiedSearch_moduleformwrapper\').hide();
465}
466function UnifiedSearch_SelectModuleSave() {
467	var UnifiedSearch_form = document.forms.UnifiedSearch;
468	UnifiedSearch_form.search_onlyin.value = Form.serialize($(\'UnifiedSearch_moduleform\')).replace(/search_onlyin=/g, \'\').replace(/&/g,\',\');
469	UnifiedSearch_SelectModuleCancel();
470}
471'; ?>
472
473</script>
474<!-- End -->
475
476<script>
477var gVTModule = '<?php echo vtlib_purify($_REQUEST['module']); ?>
478';
479function fetch_clock()
480{
481	new Ajax.Request(
482		'index.php',
483		{queue: {position: 'end', scope: 'command'},
484			method: 'post',
485			postBody: 'module=Utilities&action=UtilitiesAjax&file=Clock',
486			onComplete: function(response)
487				    {
488					$("clock_cont").innerHTML=response.responseText;
489					execJS($('clock_cont'));
490				    }
491		}
492	);
493
494}
495
496function fetch_calc()
497{
498	new Ajax.Request(
499		'index.php',
500		{queue: {position: 'end', scope: 'command'},
501			method: 'post',
502			postBody: 'module=Utilities&action=UtilitiesAjax&file=Calculator',
503			onComplete: function(response)
504					{
505						$("calculator_cont").innerHTML=response.responseText;
506						execJS($('calculator_cont'));
507					}
508		}
509	);
510}
511</script>
512
513<script>
514<?php echo '
515function QCreate(qcoptions){
516	var module = qcoptions.options[qcoptions.options.selectedIndex].value;
517	if(module != \'none\'){
518		$("status").style.display="inline";
519		if(module == \'Events\'){
520			module = \'Calendar\';
521			var urlstr = \'&activity_mode=Events\';
522		}else if(module == \'Calendar\'){
523			module = \'Calendar\';
524			var urlstr = \'&activity_mode=Task\';
525		}else{
526			var urlstr = \'\';
527		}
528		new Ajax.Request(
529			\'index.php\',
530				{queue: {position: \'end\', scope: \'command\'},
531				method: \'post\',
532				postBody: \'module=\'+module+\'&action=\'+module+\'Ajax&file=QuickCreate\'+urlstr,
533				onComplete: function(response){
534					$("status").style.display="none";
535					$("qcform").style.display="inline";
536					$("qcform").innerHTML = response.responseText;
537					// Evaluate all the script tags in the response text.
538					var scriptTags = $("qcform").getElementsByTagName("script");
539					for(var i = 0; i< scriptTags.length; i++){
540						var scriptTag = scriptTags[i];
541						eval(scriptTag.innerHTML);
542					}
543                    eval($("qcform"));
544                    posLay(qcoptions, "qcform");
545				}
546			}
547		);
548	}else{
549		hide(\'qcform\');
550	}
551}
552
553function getFormValidate(divValidate)
554{
555  var st = document.getElementById(\'qcvalidate\');
556  eval(st.innerHTML);
557  for (var i=0; i<qcfieldname.length; i++) {
558		var curr_fieldname = qcfieldname[i];	
559		if(window.document.QcEditView[curr_fieldname] != null)
560		{
561			var type=qcfielddatatype[i].split("~")
562			var input_type = window.document.QcEditView[curr_fieldname].type;	
563			if (type[1]=="M") {
564					if (!qcemptyCheck(curr_fieldname,qcfieldlabel[i],input_type))
565						return false
566				}
567			switch (type[0]) {
568				case "O"  : break;
569				case "V"  : break;
570				case "C"  : break;
571				case "DT" :
572					if (window.document.QcEditView[curr_fieldname] != null && window.document.QcEditView[curr_fieldname].value.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\').length!=0)
573					{	 
574						if (type[1]=="M")
575							if (!qcemptyCheck(type[2],qcfieldlabel[i],getObj(type[2]).type))
576								return false
577						if(typeof(type[3])=="undefined") var currdatechk="OTH"
578						else var currdatechk=type[3]
579
580						if (!qcdateTimeValidate(curr_fieldname,type[2],qcfieldlabel[i],currdatechk))
581							return false
582						if (type[4]) {
583							if (!dateTimeComparison(curr_fieldname,type[2],qcfieldlabel[i],type[5],type[6],type[4]))
584								return false
585
586						}
587					}		
588				break;
589				case "D"  :
590					if (window.document.QcEditView[curr_fieldname] != null && window.document.QcEditView[curr_fieldname].value.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\').length!=0)
591					{	
592						if(typeof(type[2])=="undefined") var currdatechk="OTH"
593						else var currdatechk=type[2]
594
595							if (!qcdateValidate(curr_fieldname,qcfieldlabel[i],currdatechk))
596								return false
597									if (type[3]) {
598										if (!qcdateComparison(curr_fieldname,qcfieldlabel[i],type[4],type[5],type[3]))
599											return false
600									}
601					}	
602				break;
603				case "T"  :
604					if (window.document.QcEditView[curr_fieldname] != null && window.document.QcEditView[curr_fieldname].value.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\').length!=0)
605					{	 
606						if(typeof(type[2])=="undefined") var currtimechk="OTH"
607						else var currtimechk=type[2]
608
609							if (!timeValidate(curr_fieldname,qcfieldlabel[i],currtimechk))
610								return false
611									if (type[3]) {
612										if (!timeComparison(curr_fieldname,qcfieldlabel[i],type[4],type[5],type[3]))
613											return false
614									}
615					}
616				break;
617				case "I"  :
618					if (window.document.QcEditView[curr_fieldname] != null && window.document.QcEditView[curr_fieldname].value.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\').length!=0)
619					{	
620						if (window.document.QcEditView[curr_fieldname].value.length!=0)
621						{
622							if (!qcintValidate(curr_fieldname,qcfieldlabel[i]))
623								return false
624							if (type[2]) {
625								if (!qcnumConstComp(curr_fieldname,qcfieldlabel[i],type[2],type[3]))
626									return false
627							}
628						}
629					}
630				break;
631				case "N"  :
632					case "NN" :
633					if (window.document.QcEditView[curr_fieldname] != null && window.document.QcEditView[curr_fieldname].value.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\').length!=0)
634					{
635						if (window.document.QcEditView[curr_fieldname].value.length!=0)
636						{
637							if (typeof(type[2])=="undefined") var numformat="any"
638							else var numformat=type[2]
639
640								if (type[0]=="NN") {
641
642									if (!numValidate(curr_fieldname,qcfieldlabel[i],numformat,true))
643										return false
644								} else {
645									if (!numValidate(curr_fieldname,qcfieldlabel[i],numformat))
646										return false
647								}
648							if (type[3]) {
649								if (!numConstComp(curr_fieldname,qcfieldlabel[i],type[3],type[4]))
650									return false
651							}
652						}
653					}
654				break;
655				case "E"  :
656					if (window.document.QcEditView[curr_fieldname] != null && window.document.QcEditView[curr_fieldname].value.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\').length!=0)
657					{
658						if (window.document.QcEditView[curr_fieldname].value.length!=0)
659						{
660							var etype = "EMAIL"
661								if (!qcpatternValidate(curr_fieldname,qcfieldlabel[i],etype))
662									return false
663						}
664					}
665				break;
666			}
667		}
668	}
669       //added to check Start Date & Time,if Activity Status is Planned.//start
670        for (var j=0; j<qcfieldname.length; j++)
671		{
672			curr_fieldname = qcfieldname[j];
673			if(window.document.QcEditView[curr_fieldname] != null)
674			{
675				if(qcfieldname[j] == "date_start")
676				{
677					var datelabel = qcfieldlabel[j]
678						var datefield = qcfieldname[j]
679						var startdatevalue = window.document.QcEditView[datefield].value.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\')
680				}
681				if(qcfieldname[j] == "time_start")
682				{
683					var timelabel = qcfieldlabel[j]
684						var timefield = qcfieldname[j]
685						var timeval=window.document.QcEditView[timefield].value.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\')
686				}
687				if(qcfieldname[j] == "eventstatus" || qcfieldname[j] == "taskstatus")
688				{
689					var statusvalue = window.document.QcEditView[curr_fieldname].options[window.document.QcEditView[curr_fieldname].selectedIndex].value.replace(/^\\s+/g, \'\').replace(/\\s+$/g, \'\')
690					var statuslabel = qcfieldlabel[j++]
691				}
692			}
693		}
694	if(statusvalue == "Planned")
695        {
696               var dateelements=splitDateVal(startdatevalue)
697	       var hourval=parseInt(timeval.substring(0,timeval.indexOf(":")))
698               var minval=parseInt(timeval.substring(timeval.indexOf(":")+1,timeval.length))
699               var dd=dateelements[0]
700               var mm=dateelements[1]
701               var yyyy=dateelements[2]
702
703               var chkdate=new Date()
704               chkdate.setYear(yyyy)
705               chkdate.setMonth(mm-1)
706               chkdate.setDate(dd)
707	       chkdate.setMinutes(minval)
708               chkdate.setHours(hourval)
709		if(!comparestartdate(chkdate)) return false;
710		
711
712	 }//end
713	return true;
714}
715</SCRIPT>
716'; ?>
717
718
719<div id="allMenu" onmouseout="fninvsh('allMenu');" onMouseOver="fnvshNrm('allMenu');" style="width:650px;z-index: 10000001;display:none;">
720	<table border=0 cellpadding="5" cellspacing="0" class="allMnuTable" >
721	<tr>
722		<td valign="top">
723		<?php $this->assign('parentno', 0); ?>
724		<?php $_from = $this->_tpl_vars['QUICKACCESS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['parenttablist'] = array('total' => count($_from), 'iteration' => 0);
725if ($this->_foreach['parenttablist']['total'] > 0):
726    foreach ($_from as $this->_tpl_vars['parenttab'] => $this->_tpl_vars['details']):
727        $this->_foreach['parenttablist']['iteration']++;
728?>
729			<span class="allMnuHdr"><?php echo $this->_tpl_vars['APP'][$this->_tpl_vars['parenttab']]; ?>
730</span>
731			<?php $_from = $this->_tpl_vars['details']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['modulelist'] = array('total' => count($_from), 'iteration' => 0);
732if ($this->_foreach['modulelist']['total'] > 0):
733    foreach ($_from as $this->_tpl_vars['modules']):
734        $this->_foreach['modulelist']['iteration']++;
735?>
736       		<?php echo smarty_function_math(array('assign' => 'num','equation' => "x + y",'x' => $this->_tpl_vars['parentno'],'y' => 1), $this);?>
737
738			<?php echo smarty_function_math(array('assign' => 'loopvalue','equation' => "x % y",'x' => $this->_tpl_vars['num'],'y' => 15), $this);?>
739
740			<?php $this->assign('parentno', $this->_tpl_vars['num']); ?>
741			<?php if ($this->_tpl_vars['loopvalue'] == '0'): ?>
742				</td><td valign="top">
743			<?php endif; ?>
744			<?php $this->assign('modulelabel', getTranslatedString($this->_tpl_vars['modules'][1], $this->_tpl_vars['modules'][0])); ?>
745			<a href="index.php?module=<?php echo $this->_tpl_vars['modules']['0']; ?>
746&action=index&parenttab=<?php echo $this->_tpl_vars['parenttab']; ?>
747" class="allMnu"><?php echo $this->_tpl_vars['modulelabel']; ?>
748</a>
749			<?php endforeach; endif; unset($_from); ?>
750		<?php endforeach; endif; unset($_from); ?>
751		</td>
752	</tr>
753</table>
754</div>
755
756<!-- Drop Down Menu in the Main Tab -->
757<?php $_from = $this->_tpl_vars['QUICKACCESS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['parenttablist'] = array('total' => count($_from), 'iteration' => 0);
758if ($this->_foreach['parenttablist']['total'] > 0):
759    foreach ($_from as $this->_tpl_vars['parenttab'] => $this->_tpl_vars['details']):
760        $this->_foreach['parenttablist']['iteration']++;
761?>
762<div class="drop_mnu" id="<?php echo $this->_tpl_vars['parenttab']; ?>
763_sub" onmouseout="fnHideDrop('<?php echo $this->_tpl_vars['parenttab']; ?>
764_sub')" onmouseover="fnShowDrop('<?php echo $this->_tpl_vars['parenttab']; ?>
765_sub')">
766	<table width="100%" border="0" cellpadding="0" cellspacing="0">
767		<?php $_from = $this->_tpl_vars['details']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['modulelist'] = array('total' => count($_from), 'iteration' => 0);
768if ($this->_foreach['modulelist']['total'] > 0):
769    foreach ($_from as $this->_tpl_vars['modules']):
770        $this->_foreach['modulelist']['iteration']++;
771?>
772		<?php $this->assign('modulelabel', getTranslatedString($this->_tpl_vars['modules'][1], $this->_tpl_vars['modules'][0])); ?>
773		
774				<?php $this->assign('moduleaction', 'index'); ?>
775	   	<?php if (isset ( $this->_tpl_vars['modules'][2] )): ?>
776	   		<?php $this->assign('moduleaction', $this->_tpl_vars['modules'][2]); ?>
777	   	<?php endif; ?>
778		
779		<tr><td><a href="index.php?module=<?php echo $this->_tpl_vars['modules']['0']; ?>
780&action=<?php echo $this->_tpl_vars['moduleaction']; ?>
781&parenttab=<?php echo $this->_tpl_vars['parenttab']; ?>
782" class="drop_down"><?php echo $this->_tpl_vars['modulelabel']; ?>
783</a></td></tr>
784		<?php endforeach; endif; unset($_from); ?>
785	</table>
786</div>
787<?php endforeach; endif; unset($_from); ?>
788
789
790<div id="status" style="position:absolute;display:none;left:1450px;top:65px;height:27px;white-space:nowrap;"><img src="<?php echo vtiger_imageurl('status.gif', $this->_tpl_vars['THEME']); ?>
791"></div>
792<script>
793function openwin()
794{
795            window.open("index.php?module=Users&action=about_us","aboutwin","height=520,width=515,top=200,left=300")
796}
797
798</script>
799
800
801<div id="tracker" style="display:none;position:absolute;z-index:100000001;" class="layerPopup">
802
803	<table border="0" cellpadding="5" cellspacing="0" width="200">
804	<tr style="cursor:move;">
805		<td colspan="2" class="mailClientBg small" id="Track_Handle"><strong><?php echo $this->_tpl_vars['APP']['LBL_LAST_VIEWED']; ?>
806</strong></td>
807		<td align="right" style="padding:5px;" class="mailClientBg small">
808		<a href="javascript:;"><img src="<?php echo vtiger_imageurl('close.gif', $this->_tpl_vars['THEME']); ?>
809" border="0"  onClick="fninvsh('tracker')" hspace="5" align="absmiddle"></a>
810		</td></tr>
811	</table>
812	<table border="0" cellpadding="5" cellspacing="0" width="200" class="hdrNameBg">
813	<?php $_from = $this->_tpl_vars['TRACINFO']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['trackinfo'] = array('total' => count($_from), 'iteration' => 0);
814if ($this->_foreach['trackinfo']['total'] > 0):
815    foreach ($_from as $this->_tpl_vars['trackelements']):
816        $this->_foreach['trackinfo']['iteration']++;
817?>
818	<tr>
819		<td class="trackerListBullet small" align="center" width="12"><?php echo $this->_foreach['trackinfo']['iteration']; ?>
820</td>
821		<td class="trackerList small"> <a href="index.php?module=<?php echo $this->_tpl_vars['trackelements']['module_name']; ?>
822&action=DetailView&record=<?php echo $this->_tpl_vars['trackelements']['crmid']; ?>
823&parenttab=<?php echo $this->_tpl_vars['CATEGORY']; ?>
824"><?php echo $this->_tpl_vars['trackelements']['item_summary']; ?>
825</a> </td><td class="trackerList small">&nbsp;</td></tr>
826	<?php endforeach; endif; unset($_from); ?>
827	</table>
828</div>
829	
830<script>
831	var THandle = document.getElementById("Track_Handle");
832	var TRoot   = document.getElementById("tracker");
833	Drag.init(THandle, TRoot);
834</script>		
835
836<!-- vtiger Feedback -->
837<script type="text/javascript">
838<?php echo '
839function vtiger_feedback() {
840	window.open("http://www.vtiger.com/products/crm/feedback.php?uid='; ?>
841<?php global $application_unique_key; echo $application_unique_key; ?><?php echo '","feedbackwin","height=300,width=515,top=200,left=300")
842}
843'; ?>
844
845</script>
846<!-- vtiger news -->
847<script type="text/javascript">
848<?php echo '
849function vtiger_news(obj) {
850	$(\'status\').style.display = \'inline\';
851	new Ajax.Request(
852		\'index.php\',
853		{queue: {position: \'end\', scope: \'command\'},
854			method: \'post\',
855			postBody: \'module=Home&action=HomeAjax&file=HomeNews\',
856			onComplete: function(response) {
857				$("vtigerNewsPopupLay").innerHTML=response.responseText;
858				fnvshobj(obj, \'vtigerNewsPopupLay\');
859				$(\'status\').style.display = \'none\';
860			}
861		}
862	);
863		
864}
865'; ?>
866
867</script>
868<div class="lvtCol fixedLay1" id="vtigerNewsPopupLay" style="display: none; height: 250px; bottom: 2px; padding: 2px; z-index: 12; font-weight: normal;" align="left">
869</div>
870<!-- END -->
871
872<!-- ActivityReminder Customization for callback -->
873<div class="lvtCol fixedLay1" id="ActivityRemindercallback" style="border: 0; right: 0px; bottom: 2px; display:none; padding: 2px; z-index: 10; font-weight: normal;" align="left">
874</div>
875<!-- End -->
876
877<!-- divs for asterisk integration -->
878<div class="lvtCol fixedLay1" id="notificationDiv" style="float: right;  padding-right: 5px; overflow: hidden; border-style: solid; right: 0px; border-color: rgb(141, 141, 141); bottom: 0px; display: none; padding: 2px; z-index: 10; font-weight: normal;" align="left">
879</div>
880
881<div id="OutgoingCall" style="display: none;position: absolute;z-index:200;" class="layerPopup">
882	<table  border='0' cellpadding='5' cellspacing='0' width='100%'>
883		<tr style='cursor:move;' >
884			<td class='mailClientBg small' id='outgoing_handle'>
885				<b><?php echo $this->_tpl_vars['APP']['LBL_OUTGOING_CALL']; ?>
886</b>
887			</td>
888		</tr>
889	</table>
890	<table  border='0' cellpadding='0' cellspacing='0' width='100%' class='hdrNameBg'>
891		</tr>
892		<tr><td style='padding:10px;' colspan='2'>
893			<?php echo $this->_tpl_vars['APP']['LBL_OUTGOING_CALL_MESSAGE']; ?>
894
895		</td></tr>
896	</table>
897</div>
898<!-- divs for asterisk integration :: end-->