예제 #1
0
</td>
	</tr>
	<?php 
$colCount = 7;
if (count($userList) > 0) {
    $catCount = count($userList);
    foreach ($userList as $i => $userInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $usernameLink = scriptAJAXLinkHref('users.php', 'content', "sec=edit&userId={$userInfo['id']}", "{$userInfo['username']}");
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">				
				<td class="<?php 
        echo $leftBotClass;
        ?>
"><input type="checkbox" name="ids[]" value="<?php 
        echo $userInfo['id'];
        ?>
"></td>
				<td class="td_br_right"><?php 
        echo $userInfo['id'];
        ?>
예제 #2
0
        		<th><?php 
echo $spTextSA['Crawled Pages'];
?>
:</th>
        		<td id="crawled_pages"><?php 
echo $projectInfo['crawled_links'];
?>
</td>
        	</tr>
        </table>
	</div>
	<p class='note'>
		<?php 
echo $spTextSA['pressescapetostopexecution'];
?>
.
	    <?php 
echo scriptAJAXLinkHref('siteauditor.php', 'content', "sec=showrunproject&project_id=" . $projectInfo['id'], $spText['label']['Click Here']);
?>
 <?php 
echo $spTextSA['to run project again if you stopped execution'];
?>
.
	</p>
	<div id="subcontmed">
		<script>scriptDoLoad('siteauditor.php?sec=runproject&project_id=<?php 
echo $projectInfo['id'];
?>
', 'subcontmed');</script>
	</div>
</div>
예제 #3
0
</td>
	</tr>
	<?php 
$colCount = 7;
if (count($list) > 0) {
    $catCount = count($list);
    foreach ($list as $i => $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $proxyLink = scriptAJAXLinkHref('proxy.php', 'content', "sec=edit&proxyId={$listInfo['id']}", "{$listInfo['proxy']}");
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
"><input type="checkbox" name="ids[]" value="<?php 
        echo $listInfo['id'];
        ?>
"></td>
				<td class="td_br_right"><?php 
        echo $listInfo['id'];
        ?>
예제 #4
0
		<td class="right"><?php 
echo $spText['common']['Action'];
?>
</td>
	</tr>
	<?php 
$colCount = 11;
if (count($list) > 0) {
    $catCount = count($list);
    foreach ($list as $i => $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if (!$i || $catCount != $i + 1) {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $pageLink = scriptAJAXLinkHref('siteauditor.php', 'subcontent', "sec=pagedetails&report_id={$listInfo['id']}&pageno={$pageNo}&order_col={$orderCol}&order_val={$orderVal}", wordwrap($listInfo['page_url'], 100, "<br>", true));
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
 left"><?php 
        echo $pageLink;
        ?>
</td>
				<td class="td_br_right"><?php 
        echo $listInfo['pagerank'];
        ?>
예제 #5
0
</td>
	</tr>
	<?php 
$colCount = empty($isAdmin) ? 6 : 7;
if (count($list) > 0) {
    $catCount = count($list);
    foreach ($list as $i => $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $websiteLink = scriptAJAXLinkHref('websites.php', 'content', "sec=edit&websiteId={$listInfo['id']}", "{$listInfo['name']}");
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
"><input type="checkbox" name="ids[]" value="<?php 
        echo $listInfo['id'];
        ?>
"></td>
				<td class="td_br_right"><?php 
        echo $listInfo['id'];
        ?>
예제 #6
0
 function getStatusLink($dirId, $status)
 {
     if ($status) {
         $statLabel = "active";
         $statVal = 0;
     } else {
         $statLabel = "inactive";
         $statVal = 1;
     }
     $statusLink = scriptAJAXLinkHref('directories.php', 'status_' . $dirId, "sec=dirstatus&dir_id={$dirId}&status={$statVal}", $statLabel);
     return $statusLink;
 }
예제 #7
0
</td>
	</tr>
	<?php 
$colCount = 8;
if (count($list) > 0) {
    $catCount = count($list);
    foreach ($list as $i => $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $keywordLink = scriptAJAXLinkHref('keywords.php', 'content', "sec=edit&keywordId={$listInfo['id']}", "{$listInfo['name']}");
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
"><input type="checkbox" name="ids[]" value="<?php 
        echo $listInfo['id'];
        ?>
"></td>
				<td class="td_br_right"><?php 
        echo $listInfo['id'];
        ?>
예제 #8
0
 function getStatusLink($dirId, $status)
 {
     if ($status) {
         $statLabel = "Active";
         $statVal = 0;
     } else {
         $statLabel = "Inactive";
         $statVal = 1;
     }
     if (SP_DEMO) {
         $statusLink = scriptAJAXLinkHref('demo', "", "", $_SESSION['text']['common'][$statLabel]);
     } else {
         $statusLink = scriptAJAXLinkHref('directories.php', 'status_' . $dirId, "sec=dirstatus&dir_id={$dirId}&status={$statVal}", $_SESSION['text']['common'][$statLabel]);
     }
     return $statusLink;
 }
예제 #9
0
</td>
	</tr>
	<?php 
$colCount = 9;
if (count($list) > 0) {
    $catCount = count($list);
    foreach ($list as $i => $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $userTypeLink = scriptAJAXLinkHref('user-types-manager.php', 'content', "sec=edit&userTypeId={$listInfo['id']}", "{$listInfo['user_type']}");
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
"><input type="checkbox" name="ids[]" value="<?php 
        echo $listInfo['id'];
        ?>
"></td>
				<td class="td_br_right"><?php 
        echo $listInfo['id'];
        ?>
예제 #10
0
	</tr>
	<?php 
$colCount = 5;
if (count($list) > 0) {
    $catCount = count($list);
    foreach ($list as $i => $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $statusLink = $ctrler->getStatusLink($listInfo['id'], $listInfo['working']);
        $checkLink = scriptAJAXLinkHref('directories.php', "status_{$listInfo['id']}", "sec=checkdir&dir_id={$listInfo['id']}&nodebug=1", "Check Status");
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
"><?php 
        echo $listInfo['id'];
        ?>
</td>
				
				<td class="td_br_right left"><?php 
        echo str_replace('http://', '', $listInfo['domain']);
예제 #11
0
	<?php 
$colCount = 3;
if (count($list) > 0) {
    $catCount = count($list);
    $i = 0;
    foreach ($list as $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $scriptLink = "sec=show-info&keyId={$listInfo['keyword_id']}&time={$listInfo['time']}&seId={$seId}";
        $dateLink = scriptAJAXLinkHref('reports.php', 'subcontent', $scriptLink, date('Y-m-d', $listInfo['time']));
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
" width='100px;'><?php 
        echo $dateLink;
        ?>
</td>
				<td class='td_br_right' id='seresult'>
					<a href='<?php 
        echo $listInfo['url'];
예제 #12
0
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        if ($listInfo['status']) {
            $statLabel = $spText['common']["Active"];
        } else {
            $statLabel = $spText['common']["Inactive"];
        }
        $activateLink = SP_DEMO ? scriptAJAXLinkHref('demo', '', "", $statLabel) : scriptAJAXLinkHref('seo-tools-manager.php', 'content', "sec=changestatus&seotool_id={$listInfo['id']}&status={$listInfo['status']}", $statLabel);
        $statLabel = $listInfo['reportgen'] ? $spText['common']["Active"] : $spText['common']["Inactive"];
        $reportgenLink = SP_DEMO ? scriptAJAXLinkHref('demo', '', "", $statLabel) : scriptAJAXLinkHref('seo-tools-manager.php', 'content', "sec=changereportgen&seotool_id={$listInfo['id']}&status={$listInfo['reportgen']}", $statLabel);
        $statLabel = $listInfo['cron'] ? $spText['common']["Active"] : $spText['common']["Inactive"];
        $cronLink = SP_DEMO ? scriptAJAXLinkHref('demo', '', "", $statLabel) : scriptAJAXLinkHref('seo-tools-manager.php', 'content', "sec=changecron&seotool_id={$listInfo['id']}&status={$listInfo['cron']}", $statLabel);
        $accessLabel = $listInfo['user_access'] ? $spText['common']["Yes"] : $spText['common']["No"];
        $accessLink = SP_DEMO ? scriptAJAXLinkHref('demo', '', "", $accessLabel) : scriptAJAXLinkHref('seo-tools-manager.php', 'content', "sec=changeaccess&seotool_id={$listInfo['id']}&user_access={$listInfo['user_access']}", $accessLabel);
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
"><?php 
        echo $listInfo['id'];
        ?>
</td>
				<td class="td_br_right left"><?php 
        echo $listInfo['name'];
        ?>
예제 #13
0
	<?php 
$colCount = 9;
if (count($list) > 0) {
    $catCount = count($list);
    foreach ($list as $i => $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        // if from popup
        if ($fromPopUp) {
            $logLink = scriptAJAXLinkHref('log.php', 'content', "sec=crawl_log_details&id=" . $listInfo['id'], $listInfo['id']);
        } else {
            $logLink = scriptAJAXLinkHrefDialog('log.php', 'content', "sec=crawl_log_details&id=" . $listInfo['id'], $listInfo['id']);
        }
        // crawl log is for keyword
        if ($listInfo['crawl_type'] == 'keyword') {
            // if ref is is integer find keyword name
            if (!empty($listInfo['keyword'])) {
                $listInfo['ref_id'] = $listInfo['keyword'];
            }
            // find search engine info
            if (preg_match("/^\\d+\$/", $listInfo['subject'])) {
                $seCtrler = new SearchEngineController();
                $seInfo = $seCtrler->__getsearchEngineInfo($listInfo['subject']);
                $listInfo['subject'] = $seInfo['domain'];
            }
예제 #14
0
$colCount = $seCount + 1;
if (count($list) > 0) {
    $catCount = count($list);
    $i = 0;
    foreach ($list as $listInfo) {
        $positionInfo = $listInfo['position_info'];
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $scriptLink = "keyword_id={$listInfo['id']}&rep=1";
        $keywordLink = scriptAJAXLinkHref('reports.php', 'content', $scriptLink, $listInfo['name']);
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
" width='100px;'><?php 
        echo $keywordLink;
        ?>
</td>
				<?php 
        foreach ($seList as $index => $seInfo) {
            $rank = empty($positionInfo[$seInfo['id']]['rank']) ? '-' : $positionInfo[$seInfo['id']]['rank'];
예제 #15
0
	</tr>
	<?php 
$colCount = 7;
if (count($list) > 0) {
    $catCount = count($list);
    foreach ($list as $i => $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        $statusLink = $ctrler->getStatusLink($listInfo['id'], $listInfo['working']);
        $checkLink = scriptAJAXLinkHref('directories.php', "status_{$listInfo['id']}", "sec=checkdir&dir_id={$listInfo['id']}&nodebug=1&checkpr=1", $spText['button']["Check Status"]);
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
"><?php 
        echo $listInfo['id'];
        ?>
</td>
				
				<td class="td_br_right left"><a target="_blank" href="<?php 
        echo $listInfo['submit_url'];
예제 #16
0
    $catCount = count($list);
    foreach ($list as $i => $listInfo) {
        $class = $i % 2 ? "blue_row" : "white_row";
        if ($catCount == $i + 1) {
            $leftBotClass = "tab_left_bot";
            $rightBotClass = "tab_right_bot";
        } else {
            $leftBotClass = "td_left_border td_br_right";
            $rightBotClass = "td_br_right";
        }
        if ($listInfo['status']) {
            $statLabel = $spText['common']["Active"];
        } else {
            $statLabel = $spText['common']["Inactive"];
        }
        $activateLink = scriptAJAXLinkHref('seo-plugins-manager.php', 'content', "sec=changestatus&seoplugin_id={$listInfo['id']}&status={$listInfo['status']}", $statLabel);
        ?>
			<tr class="<?php 
        echo $class;
        ?>
">
				<td class="<?php 
        echo $leftBotClass;
        ?>
">
					<a href="javascript:void(0);" onclick="scriptDoLoad('seo-plugins-manager.php?sec=listinfo&pid=<?php 
        echo $listInfo['id'];
        ?>
', 'content')"><?php 
        echo $listInfo['label'];
        ?>
예제 #17
0
    				<?php 
            }
            ?>
				
    				<?php 
            foreach ($seList as $index => $seInfo) {
                $rank = empty($positionInfo[$seInfo['id']]['rank']) ? '-' : $positionInfo[$seInfo['id']]['rank'];
                $rankDiff = empty($positionInfo[$seInfo['id']]['rank_diff']) ? '' : $positionInfo[$seInfo['id']]['rank_diff'];
                $rankPadding = "";
                if ($rank != '-') {
                    if ($cronUserId) {
                        $rankLink = $rank;
                        $graphLink = '&nbsp;';
                    } else {
                        $rankLink = scriptAJAXLinkHref('reports.php', 'content', $scriptLink . "&se_id=" . $seInfo['id'], $rank);
                        $graphLink = scriptAJAXLinkHref('graphical-reports.php', 'content', $scriptLink . "&se_id=" . $seInfo['id'], '&nbsp;', 'graphicon');
                    }
                    $rankPadding = empty($rankDiff) ? "" : "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
                    $rankLink = $rankPadding . $rankLink;
                } else {
                    $rankDiff = $graphLink = "";
                    $rankLink = $rank;
                }
                if ($index + 1 == $seCount) {
                    ?>
    						<td class="<?php 
                    echo $rightBotClass;
                    ?>
" style='width:100px' nowrap><?php 
                    echo "{$rankLink} {$graphLink} {$rankDiff}";
                    ?>
예제 #18
0
<?php

if ($completed == 1) {
    $submitLink = scriptAJAXLinkHref('siteauditor.php', 'content', "sec=viewreports&project_id={$projectId}", $spText['label']['Click Here']);
    showSuccessMsg($spTextSA['Completed project execution'] . "! {$submitLink} " . $spTextSA['to view the reports'], false);
} elseif ($completed == -1) {
    echo showErrorMsg($errorMsg, false);
} else {
    if ($projectInfo['check_pr'] || $projectInfo['check_backlinks'] || $projectInfo['check_indexed']) {
        if (SA_CRAWL_DELAY_TIME < 10) {
            $delay = 10 * 1000;
        } else {
            $delay = SA_CRAWL_DELAY_TIME * 1000;
        }
    } else {
        $delay = 2 * 1000;
    }
    echo "<b>'{$crawledUrl}' {$spTextSA['crawledsuccesssfullywaitfornext']} " . $delay / 1000 . " seconds</b>";
    ?>
	<script>
 		setTimeout('scriptDoLoad(\'siteauditor.php?sec=runproject&project_id=<?php 
    echo $projectId;
    ?>
\', \'subcontmed\')', <?php 
    echo $delay;
    ?>
);
    </script>
	<?php 
}
?>