当前位置: 首页>>代码示例>>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;未经允许,请勿转载。