當前位置: 首頁>>代碼示例>>PHP>>正文


PHP scriptAJAXLinkHref函數代碼示例

本文整理匯總了PHP中scriptAJAXLinkHref函數的典型用法代碼示例。如果您正苦於以下問題:PHP scriptAJAXLinkHref函數的具體用法?PHP scriptAJAXLinkHref怎麽用?PHP scriptAJAXLinkHref使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了scriptAJAXLinkHref函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: count

</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'];
        ?>
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:list.ctp.php

示例2: scriptAJAXLinkHref

        		<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>
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:showrunproject.ctp.php

示例3: count

</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'];
        ?>
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:proxylist.ctp.php

示例4: count

		<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'];
        ?>
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:reportlinks.ctp.php

示例5: empty

</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'];
        ?>
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:list.ctp.php

示例6: getStatusLink

 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;
 }
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:12,代碼來源:directory.ctrl.php

示例7: count

</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'];
        ?>
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:list.ctp.php

示例8: getStatusLink

 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;
 }
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:16,代碼來源:directory.ctrl.php

示例9: count

</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'];
        ?>
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:list.ctp.php

示例10: count

	</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']);
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:list.ctp.php

示例11: count

	<?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'];
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:report.ctp.php

示例12: scriptAJAXLinkHref

        } 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'];
        ?>
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:listseotools.ctp.php

示例13: count

	<?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'];
            }
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:crawlloglist.ctp.php

示例14: count

$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'];
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:reportsummary.ctp.php

示例15: count

	</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'];
開發者ID:codegooglecom,項目名稱:seopanel,代碼行數:31,代碼來源:list.ctp.php


注:本文中的scriptAJAXLinkHref函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。