<?php
/* Smarty version 4.3.2, created on 2024-07-23 18:24:46
  from '/var/www/html/public/legacy/modules/Campaigns/TrackDetailView.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.2',
  'unifunc' => 'content_669ff56e42e3b9_26031034',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'af599a66dd2909d24ba6cd981047e615f3e3a283' => 
    array (
      0 => '/var/www/html/public/legacy/modules/Campaigns/TrackDetailView.tpl',
      1 => 1709743138,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_669ff56e42e3b9_26031034 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/html/public/legacy/include/Smarty/plugins/function.sugar_getscript.php','function'=>'smarty_function_sugar_getscript',),));
?>
<!-- BEGIN: main -->
<?php echo $_smarty_tpl->tpl_vars['chartResources']->value;?>

<?php echo '<script'; ?>
>SUGAR.loadChart = true;<?php echo '</script'; ?>
>

<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<form action="index.php" method="post" name="DetailView" id="form">
			<input type="hidden" name="module" value="CampaignLog">
			<input type="hidden" name="subpanel_parent_module" value="Campaigns">			
			<input type="hidden" name="record" value="<?php echo $_smarty_tpl->tpl_vars['ID']->value;?>
">
			<input type="hidden" name="isDuplicate" value=false>
			<input type="hidden" name="action">
			<input type="hidden" name="return_module">
			<input type="hidden" name="return_action">
			<input type="hidden" name="return_id" >
			<input type="hidden" name="campaign_id" value="<?php echo $_smarty_tpl->tpl_vars['ID']->value;?>
">
			<input type="hidden" name="mode" value="">
			<div class="track-delete"><?php echo $_smarty_tpl->tpl_vars['TRACK_DELETE_BUTTON']->value;?>
</div>			
	</td>
		<td align='right'></td>
	<td align='right' class="action-buttons-wizard">		    
		<input type="button" class="button" id="launch_wizard_button" onclick="javascript:window.location='index.php?module=Campaigns&action=WizardHome&record=<?php echo $_smarty_tpl->tpl_vars['ID']->value;?>
';" value="<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_TO_WIZARD_TITLE'];?>
" />
		<input type="button" class="button" id="view_details_button" onclick="javascript:window.location='index.php?module=Campaigns&action=DetailView&record=<?php echo $_smarty_tpl->tpl_vars['ID']->value;?>
';" value="<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_TODETAIL_BUTTON_LABEL'];?>
" />
		<span style="<?php echo $_smarty_tpl->tpl_vars['DISABLE_LINK']->value;?>
"><input style="margin-right:0;" type="button" class="button" id="view_roi_button" onclick="javascript:window.location='index.php?module=Campaigns&action=RoiDetailView&record=<?php echo $_smarty_tpl->tpl_vars['ID']->value;?>
';" value="<?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_TRACK_ROI_BUTTON_LABEL'];?>
" /></SPAN><?php echo $_smarty_tpl->tpl_vars['ADMIN_EDIT']->value;?>

	</td>
	<td align='right'><?php echo $_smarty_tpl->tpl_vars['ADMIN_EDIT']->value;?>
</td>
</tr>
</table>
<div class="detail view">
<table width="100%" border="0" cellspacing="<?php echo $_smarty_tpl->tpl_vars['GRIDLINE']->value;?>
" cellpadding="0">
<tr>
<?php echo $_smarty_tpl->tpl_vars['PAGINATION']->value;?>

	<td width="20%" scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_NAME'];?>
</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['NAME']->value;?>
</span></td>
	<td width="20%" scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_ASSIGNED_TO'];?>
</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['ASSIGNED_TO']->value;?>
</span></td>
	</tr><tr>
	<td width="20%" scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_STATUS'];?>
</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['STATUS']->value;?>
</span></td>


	<td width="20%" scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_TEAM'];?>
</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['TEAM_NAME']->value;?>
</span></td>


	</tr><tr>
	<td width="20%" scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_START_DATE'];?>
</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['START_DATE']->value;?>
</span></td>
	<td scope="row"><span><?php echo $_smarty_tpl->tpl_vars['APP']->value['LBL_DATE_MODIFIED'];?>
&nbsp;</span></td>
	<td><span><?php echo $_smarty_tpl->tpl_vars['DATE_MODIFIED']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['APP']->value['LBL_BY'];?>
 <?php echo $_smarty_tpl->tpl_vars['MODIFIED_BY']->value;?>
</span></td>
	</tr><tr>
	<td width="20%" scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_END_DATE'];?>
</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['END_DATE']->value;?>
</span></td>
	<td scope="row"><span><?php echo $_smarty_tpl->tpl_vars['APP']->value['LBL_DATE_ENTERED'];?>
&nbsp;</span></td>
	<td><span><?php echo $_smarty_tpl->tpl_vars['DATE_ENTERED']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['APP']->value['LBL_BY'];?>
 <?php echo $_smarty_tpl->tpl_vars['CREATED_BY']->value;?>
</span></td>
	</tr><tr>
	<td width="20%" scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_TYPE'];?>
</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['TYPE']->value;?>
</span></td>
	<td width="20%" scope="row"><span>&nbsp;</span></td>
	<td width="30%"><span>&nbsp;</span></td>
	</tr><tr>
	<td width="20%" scope="row"><span>&nbsp;</span></td>
	<td width="30%"><span>&nbsp;</span></td>
	<td width="20%" scope="row"><span>&nbsp;</span></td>
	<td width="30%"><span>&nbsp;</span></td>
	</tr><tr>
	<td width="20%" nowrap scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_BUDGET'];?>
 (<?php echo $_smarty_tpl->tpl_vars['CURRENCY']->value;?>
)</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['BUDGET']->value;?>
</span></td>
	<td width="20%" nowrap scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_ACTUAL_COST'];?>
 (<?php echo $_smarty_tpl->tpl_vars['CURRENCY']->value;?>
)</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['ACTUAL_COST']->value;?>
</span></td>
	</tr><tr>
	<td width="20%" nowrap scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_EXPECTED_REVENUE'];?>
 (<?php echo $_smarty_tpl->tpl_vars['CURRENCY']->value;?>
)</span></td>
	<td width="30%" nowrap><span><?php echo $_smarty_tpl->tpl_vars['EXPECTED_REVENUE']->value;?>
</span></td>
	<td width="20%" nowrap scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_EXPECTED_COST'];?>
 (<?php echo $_smarty_tpl->tpl_vars['CURRENCY']->value;?>
)</span></td>
	<td width="30%"><span><?php echo $_smarty_tpl->tpl_vars['EXPECTED_COST']->value;?>
</span></td>
	</tr><tr>
	</tr><tr>
	<td width="20%" scope="row"><span>&nbsp;</span></td>
	<td width="30%"><span>&nbsp;</span></td>
	<td width="20%" scope="row"><span>&nbsp;</span></td>
	<td width="30%"><span>&nbsp;</span></td>
	</tr>
	<tr>
	<td width="20%" valign="top" scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_OBJECTIVE'];?>
</span></td>
	<td colspan="3"><span><?php echo $_smarty_tpl->tpl_vars['OBJECTIVE']->value;?>
</span></td>
</tr><tr>
	<td width="20%" valign="top" scope="row"><span><?php echo $_smarty_tpl->tpl_vars['MOD']->value['LBL_CAMPAIGN_CONTENT'];?>
</span></td>
	<td colspan="3"><span><?php echo $_smarty_tpl->tpl_vars['CONTENT']->value;?>
</span></td>
</tr>
</table>
</div>
	<table border='0' width='100%'>
		<tr>
			<td width="10%"><?php echo $_smarty_tpl->tpl_vars['FILTER_LABEL']->value;?>
</td>
			<td width="70%"><?php echo $_smarty_tpl->tpl_vars['MKT_DROP_DOWN']->value;?>
</td>
			<td width="20%">&nbsp;</td>			
		</tr>
		<tr>
			<td colspan="3"><div class="reportChartContainer"><?php echo $_smarty_tpl->tpl_vars['MY_CHART']->value;?>
</div></td>				
		</tr>
	</table>
</form>
<?php echo '<script'; ?>
 type="text/javascript" language="javascript">

function re_draw_chart(x){
alert(x.value);
}

var toggle = 0;
	function show_more_info(tog){
		elem = document.getElementById('more_info');
		if (tog == 0){
			toggle=1;
			elem.style.display = '';
		}else{
			toggle=0;		
			elem.style.display = 'none';			
		}
	}

<?php echo '</script'; ?>
>

<!-- END: main -->

<!-- BEGIN: subpanel -->
<?php echo smarty_function_sugar_getscript(array('file'=>"modules/Campaigns/DetailView.js"),$_smarty_tpl);?>

<span><?php echo $_smarty_tpl->tpl_vars['SUBPANEL']->value;?>
</span>
<?php }
}
