<?php

$borderCollapseVal = $lastTdStyle = "";
$hrefAction = 'href="javascript:void(0)"';
if (!empty($pdfVersion) || !empty($printVersion)) {
    // if pdf report to be generated
    if ($pdfVersion) {
        showPdfHeader($spTextTools['Auditor Reports']);
        $borderCollapseVal = "border-collapse: collapse;";
        $lastTdStyle = "border-right:1px solid #B0C2CC;";
        $hrefAction = "";
    } else {
        showPrintHeader($spTextTools['Auditor Reports']);
    }
} else {
    ?>
    <div style="float:right;margin-right: 10px;margin-top: -38px;">
		<a href="<?php 
    echo $mainLink;
    ?>
&doc_type=pdf"><img src="<?php 
    echo SP_IMGPATH;
    ?>
/icon_pdf.png"></a> &nbsp;
    	<a href="<?php 
    echo $mainLink;
    ?>
&doc_type=export"><img src="<?php 
    echo SP_IMGPATH;
    ?>
/icoExport.gif"></a> &nbsp;
Example #2
0
<?php

if (!empty($printVersion)) {
    $doPrint = empty($cronUserId) ? true : false;
    showPrintHeader($spTextTools['Keyword Position Summary'], $doPrint);
    ?>
    <table width="80%" border="0" cellspacing="0" cellpadding="0" class="search">
    	<?php 
    if (!empty($websiteUrl)) {
        ?>
    		<tr>
    			<th><?php 
        echo $spText['common']['Website'];
        ?>
:</th>
        		<td>
        			<?php 
        echo $websiteUrl;
        ?>
    			</td>
    		</tr>
		<?php 
    }
    ?>
		<tr>
			<th><?php 
    echo $spText['common']['Period'];
    ?>
:</th>
    		<td>
    			<?php 
<?php 
$mainLink = SP_WEBPATH . "/siteauditor.php?project_id={$projectId}&pageno={$pageNo}" . "{$filter}";
foreach ($headArr as $col => $val) {
    $linkName = $col . "Link";
    $linkClass = "";
    if ($col == $orderCol) {
        $oVal = $orderVal == 'DESC' ? "ASC" : "DESC";
        $linkClass .= "sort_" . strtolower($orderVal);
    } else {
        $oVal = $orderVal;
    }
    ${$linkName} = "<a id='sortLink' class='{$linkClass}' href='javascript:void(0)' onclick=\"scriptDoLoadPost('siteauditor.php', 'search_form', 'subcontent', '&sec=showreport&order_col={$col}&order_val={$oVal}')\">{$val}</a>";
}
if (!empty($printVersion)) {
    showPrintHeader("Link Reports");
} else {
    ?>
	
	<td align="right" valign="bottom">
		<a href="<?php 
    echo $mainLink;
    ?>
&sec=showreport&report_type=rp_links&doc_type=export"><img src="<?php 
    echo SP_IMGPATH;
    ?>
/icoExport.gif"></a> &nbsp;
		<a target="_blank" href="<?php 
    echo $mainLink;
    ?>
&sec=showreport&report_type=rp_links&doc_type=print"><img src="<?php 
Example #4
0
<?php

$borderCollapseVal = $pdfVersion ? "border-collapse: collapse;" : "";
$hrefAttr = $pdfVersion ? "" : "href='javascript:void(0)'";
if (!empty($printVersion) || !empty($pdfVersion)) {
    $doPrint = empty($cronUserId) ? true : false;
    $pdfVersion ? showPdfHeader($sectionHead) : showPrintHeader($sectionHead, $doPrint);
    ?>
    <table width="80%" border="0" cellspacing="0" cellpadding="0" class="search">
    	<?php 
    if (!empty($websiteUrl)) {
        ?>
    		<tr>
    			<th><?php 
        echo $spText['common']['Website'];
        ?>
:</th>
        		<td>
        			<?php 
        echo $websiteUrl;
        ?>
    			</td>
    		</tr>
		<?php 
    }
    ?>
		<tr>
			<th><?php 
    echo $spText['common']['Period'];
    ?>
:</th>
Example #5
0
<?php

$borderCollapseVal = $pdfVersion ? "border-collapse: collapse;" : "";
if (!empty($printVersion) || !empty($pdfVersion)) {
    $pdfVersion ? showPdfHeader($spTextHome['Account Summary']) : showPrintHeader($spTextHome['Account Summary']);
} else {
    ?>
	<div class="Center" style='width:100%;'>
	<div class="col" style="">	
    <?php 
    echo getRoundTabTop();
    ?>
    <div id="round_content">	
	<div class="SectionHeader">
	<h1 style="text-align:center;border: none;"><?php 
    echo $spTextHome['Account Summary'];
    ?>
</h1>
	</div>
	<br />
	<div style="float: left;width: 300px;margin: 0px 0px 6px 10px;">
		<form name="acc_form" method="post" action="<?php 
    echo SP_WEBPATH;
    ?>
/">
    	<table width="50%" border="0" cellspacing="0" cellpadding="0" class="actionForm">
    		<tr>
				<th><?php 
    echo $spText['common']['Name'];
    ?>
: </th>
<?php

$borderCollapseVal = $pdfVersion ? "border-collapse: collapse;" : "";
if (!empty($printVersion) || !empty($pdfVersion)) {
    $pdfVersion ? showPdfHeader($spTextTools['Keyword Position Summary']) : showPrintHeader($spTextTools['Keyword Position Summary']);
    ?>
    <table width="80%" border="0" cellspacing="0" cellpadding="0" class="search">
    	<?php 
    if (!empty($websiteUrl)) {
        ?>
    		<tr>
    			<th><?php 
        echo $spText['common']['Website'];
        ?>
:</th>
        		<td>
        			<?php 
        echo $websiteUrl;
        ?>
    			</td>
    		</tr>
		<?php 
    }
    ?>
		<tr>
			<th><?php 
    echo $spText['common']['Period'];
    ?>
:</th>
    		<td>
    			<?php 
Example #7
0
<?php

if (!empty($printVersion)) {
    showPrintHeader($spTextHome['Account Summary']);
} else {
    ?>
	<div class="Center" style='width:100%;'>
	<div class="col" style="">
	
	<div class="SectionHeader">
	<h1 style="text-align:center;border: none;"><?php 
    echo $spTextHome['Account Summary'];
    ?>
</h1>
	</div>
	<br />
	<div style="float: left;width: 300px;margin: 0px 0px 6px 10px;">
	<?php 
    if (isAdmin()) {
        ?>
		<form name="acc_form" method="post" action="<?php 
        echo SP_WEBPATH;
        ?>
/">
    	<table width="50%" border="0" cellspacing="0" cellpadding="0" class="actionForm">
    		<tr>
    			<th><?php 
        echo $spText['common']['User'];
        ?>
: </th>
    			<td>
$mainLink = SP_WEBPATH . "/siteauditor.php?project_id={$projectId}&sec=showreport&report_type={$repType}&pageno={$pageNo}" . $filter;
foreach ($headArr as $col => $val) {
    if ($col == $repType || $col == 'count') {
        $linkName = $col . "Link";
        $linkClass = "";
        if ($col == $orderCol) {
            $oVal = $orderVal == 'DESC' ? "ASC" : "DESC";
            $linkClass .= "sort_" . strtolower($orderVal);
        } else {
            $oVal = $orderVal;
        }
        ${$linkName} = "<a id='sortLink' class='{$linkClass}' href='javascript:void(0)' onclick=\"scriptDoLoadPost('siteauditor.php', 'search_form', 'subcontent', '&sec=showreport&order_col={$col}&order_val={$oVal}')\">{$val}</a>";
    }
}
if (!empty($printVersion)) {
    showPrintHeader($headArr[$repType] . " " . $spText['common']['Reports']);
} else {
    ?>
	
	<td align="right" valign="bottom">
		<a href="<?php 
    echo $mainLink;
    ?>
&doc_type=export"><img src="<?php 
    echo SP_IMGPATH;
    ?>
/icoExport.gif"></a> &nbsp;
		<a target="_blank" href="<?php 
    echo $mainLink;
    ?>
&doc_type=print"><img src="<?php 
<?php

if (!empty($printVersion)) {
    showPrintHeader($spTextSA["Project Summary"]);
} else {
    ?>
    <div style="float:right;margin-right: 10px;margin-top: -24px;">
    	<a href="<?php 
    echo $mainLink;
    ?>
&doc_type=export"><img src="<?php 
    echo SP_IMGPATH;
    ?>
/icoExport.gif"></a> &nbsp;
    	<a target="_blank" href="<?php 
    echo $mainLink;
    ?>
&doc_type=print"><img src="<?php 
    echo SP_IMGPATH;
    ?>
/print_button.gif"></a>
    </div>
<?php 
}
?>
<div id="run_project" style="margin-top: 40px;">
	<div id="run_info">
		<table width="100%" border="0" cellspacing="0" cellpadding="0px" class="summary_tab">
        	<tr>
        		<td class="topheader" colspan="10"><?php 
echo $spTextSA['Project Summary'];