当前位置: 首页>>代码示例>>PHP>>正文


PHP iefixEnd函数代码示例

本文整理汇总了PHP中iefixEnd函数的典型用法代码示例。如果您正苦于以下问题:PHP iefixEnd函数的具体用法?PHP iefixEnd怎么用?PHP iefixEnd使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了iefixEnd函数的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getUserLink

    echo getUserLink($modData["adcCreator"]);
    ?>
:
					<?php 
    echo formatText($modData["adcText"]);
    ?>
				</div>
				<?php 
}
mysql_free_result($modResult);
?>
			<div class="sep a_center">
				<?php 
iefixStart();
$commentName = "modMessage";
$commentNoOptions = true;
$commentRows = 8;
include INCLUDES . "mod_comment.php";
iefixEnd();
?>
			</div>
			<div class="sep a_center">
				<input class="submit" type="submit" name="submitLog" value="Add Message" />
			</div>
		</form>
		<?php 
echo iefixEnd();
?>
	</div>
</div>
开发者ID:brocococonut,项目名称:yGallery,代码行数:30,代码来源:p_adminchat.php

示例2: ob_get_contents

    ?>
</option>
			</select>
			<input class="submit" type="submit" value="<?php 
    echo _UPDATE;
    ?>
" style="vertical-align: middle" />
			</form>
		</div>
		<?php 
    $membersNavs = ob_get_contents();
    ob_end_flush();
    ?>
		<div class="hline">&nbsp;</div>
	<?php 
    iefixEnd();
    ?>
	<?php 
} else {
    $membersNavs = "";
}
$artistsToGo = $limit;
foreach ($members as $useData) {
    ?>
	<div class="gallery_col mar_bottom">
		<?php 
    echo getUserAvatar("", $useData["useid"], false, true);
    echo " &nbsp; " . getUserLink($useData["useid"]);
    ?>
	</div>
	<?php 
开发者ID:brocococonut,项目名称:yGallery,代码行数:31,代码来源:p_browseartists.php

示例3: showKeywordSubcatEdit

function showKeywordSubcatEdit($keywords, $listId, $parentId = 0, $parentKeyName = "", $parentLastKeyName = "")
{
    global $requiredTabs, $firstKeywordId;
    $noSubcats = true;
    foreach ($keywords as $keyData) {
        if (isset($keyData["subcats"])) {
            $noSubcats = false;
            break;
        }
    }
    if ($parentId == 0) {
        ?>
		<div class="clear">&nbsp;</div>
		<div class="sep notsowide mar_left mar_bottom">
			Add more keyword groups to the Root separated by&nbsp;;
			<br />
			<input class="notsowide" name="addKeywordsUnder<?php 
        echo $parentId;
        ?>
" type="text" />
		</div>
		<?php 
    }
    foreach ($keywords as $keyData) {
        $tabid = generateId("kwcache_tab");
        $keyName = "&bull; " . $parentKeyName . $keyData["keyWord"];
        $nonSelectable = preg_match('/\\@$/', $keyData["keyWord"]);
        $keyData["keyWord"] = preg_replace('/\\@$/', "", $keyData["keyWord"]);
        ?>
		<div class="f_left">
			<div class="tab normaltext" id="<?php 
        echo $tabid;
        ?>
"
				onclick="open_tab(this,'keywords_<?php 
        echo $parentId;
        ?>
','keywordTab_<?php 
        echo $keyData["keyid"];
        ?>
')">

				<a href="<?php 
        echo url("keywords", array("delete" => $keyData["keyid"]));
        ?>
">
					<?php 
        echo getIMG(url() . "images/emoticons/keydelete.gif", 'alt="del" title="' . _KEYWORDS_DELETE . '" ' . 'onmouseout="this.style.background=\'none\'" ' . 'onmouseover="this.style.background=\'#fff\'"');
        ?>
				</a>
				<a href="<?php 
        echo url("keywords", array("edit" => $keyData["keyid"]));
        ?>
">
					<?php 
        echo getIMG(url() . "images/emoticons/keyedit.gif", 'alt="edit" title="' . _KEYWORDS_EDIT . '" ' . 'onmouseout="this.style.background=\'none\'" ' . 'onmouseover="this.style.background=\'#fff\'"');
        ?>
				</a>
				<?php 
        echo htmlspecialchars($keyData["keyWord"]);
        if ($nonSelectable) {
            echo "@";
        }
        ?>
			</div>
		</div>
		<?php 
    }
    ?>
	<div class="clear">&nbsp;</div>
	<?php 
    foreach ($keywords as $keyData) {
        $keyData["keyWord"] = preg_replace('/\\@$/', "", $keyData["keyWord"]);
        unset($requiredTabs[$keyData["keyid"]]);
        ?>
		<div style="display: none" id="keywordTab_<?php 
        echo $keyData["keyid"];
        ?>
">
			<?php 
        iefixStart();
        ?>
			<div class="hline">&nbsp;</div>
			<div class="hline">&nbsp;</div>
			<div class="sep notsowide_fix mar_left mar_bottom">
				Add more keywords to the group
				<b><?php 
        echo $parentKeyName . htmlspecialchars($keyData["keyWord"]);
        ?>
</b>
				separated by&nbsp;;
				<br />
				<input class="notsowide_fix" name="addKeywordsUnder<?php 
        echo $keyData["keyid"];
        ?>
" type="text" />
			</div>
			<div class="clear">&nbsp;</div>
			<?php 
        iefixEnd();
//.........这里部分代码省略.........
开发者ID:brocococonut,项目名称:yGallery,代码行数:101,代码来源:mod_keywords_edit.php

示例4: putSidebarRandom

function putSidebarRandom()
{
    global $_auth, $_config;
    iefixStart();
    $needRefresh = false;
    $objid = 0;
    $rndResult = sql_query("SELECT * FROM `randomObjects`" . dbWhere(array("rndFilterPtn" => $_auth["useObjFilters"])) . "LIMIT 1");
    if ($rndData = mysql_fetch_assoc($rndResult)) {
        if (time() > $rndData["rndTimeout"]) {
            $needRefresh = true;
            // Random object has timed-out
        } else {
            $objid = $rndData["rndObject"];
        }
    } else {
        $needRefresh = true;
    }
    mysql_free_result($rndResult);
    if ($needRefresh) {
        $count = mysql_result(sql_query("SELECT MAX(`objid`) FROM `objects`"), 0);
        $where = "`objPending` = '0' AND `objDeleted` = '0'";
        applyObjFilters($where);
        // We would give it 5 chances to pick a random submission :)
        // Actually there's a 99.999% possibility it would pick the good
        // one at first try.
        $objid = 0;
        for ($i = 1; $i <= 5; $i++) {
            $id = mt_rand(1, $count);
            $_tmpResult = sql_query("SELECT `objid` FROM `objects` " . "WHERE ({$where}) AND `objid` = '{$id}' LIMIT 1");
            if (mysql_num_rows($_tmpResult) > 0) {
                $objid = $id;
                break;
            }
        }
        $timeout = time() + 60;
        // Will expire in 1 minute
        sql_query("LOCK TABLES `randomObjects` WRITE");
        //sql_query( "BEGIN" );
        sql_query("DELETE FROM `randomObjects`" . dbWhere(array("rndFilterPtn" => $_auth["useObjFilters"])));
        sql_query("INSERT INTO `randomObjects`" . dbValues(array("rndFilterPtn" => $_auth["useObjFilters"], "rndObject" => $objid, "rndTimeout" => $timeout)));
        sql_query("UNLOCK TABLES");
        //sql_query( "COMMIT" );
    }
    // Show the thumbnail of that `objid`.
    $select = "SELECT * FROM `objects`";
    $where = "`objid` = '{$objid}'";
    $limit = 1;
    unset($order);
    include INCLUDES . "mod_minigallery.php";
    iefixEnd();
}
开发者ID:brocococonut,项目名称:yGallery,代码行数:51,代码来源:layout!sidebar-func.php

示例5: showComment


//.........这里部分代码省略.........
            echo $id1;
            ?>
').show(); $('<?php 
            echo $id2;
            ?>
').hide();"><?php 
            echo _MARK_AS_READ;
            ?>
</div>
				<?php 
        }
        if ((atLeastSModerator() || $comData["comCreator"] == $_auth["useid"]) && $_cmd[0] != "editcomment" && $_cmd[0] != "updates") {
            $editURL = isset($comData["pmsid"]) ? url("editpm/" . $comData["pmsid"]) : url("editcomment/" . $comData["comid"]);
            ?>
				<a href="<?php 
            echo $editURL;
            ?>
">
				<span class="button smalltext" style="float: right"
					onclick="document.location='<?php 
            echo $editURL;
            ?>
';">
					<?php 
            echo _EDIT;
            ?>
				</span></a>
				<?php 
        }
        ?>
			<div class="f_left mar_top smalltext">
				<?php 
        // Show IPs to moderators+ (as an acronym).
        if (atLeastModerator()) {
            ?>
					<acronym style="cursor: help" title="Submitted from <?php 
            echo getDotDecIp($comData["comSubmitIp"]);
            ?>
, last edited from <?php 
            echo getDotDecIp($comData["comEditIp"]);
            ?>
">
					<?php 
        }
        if (!isset($comData["pmsid"])) {
            ?>
					<a class="originalUrl" href="<?php 
            echo $replyURL;
            ?>
">#</a>
					<?php 
        }
        printf(_COMMENT_POSTED_ON, gmdate($_auth["useDateFormat"], applyTimezone(strtotime($comData["comSubmitDate"]))));
        if (isset($comData["comTotalEdits"]) && $comData["comTotalEdits"] > 0) {
            echo "<br />" . sprintf(_COMMENT_EDITED, $comData["comTotalEdits"], gmdate($_auth["useDateFormat"], applyTimezone(strtotime($comData["comLastEdit"]))));
        }
        // Close the acronym opened above.
        if (atLeastModerator()) {
            ?>
					</acronym>
					<?php 
        }
        ?>
			</div>
		</div>
		<?php 
    }
    ?>
	<div class="clear">&nbsp;</div>
	<?php 
    iefixEnd();
    echo '</div>';
    // Comment body
    //echo '</div>'; // Comment outer
    ?>
	<table cellspacing="0" cellpadding="0" width="100%"><tr><td>
	<div id="<?php 
    echo $instantReplyOuterId;
    ?>
" style="display: none">
		<div class="cmt_border_left" style="padding: 4px; padding-right: 0;" id="<?php 
    echo $instantReplyOuterId;
    ?>
_">
			<div class="caption smalltext"><?php 
    echo _REPLY;
    ?>
:</div>
			<div style="padding: 1px; padding-bottom: 5px" id="<?php 
    echo $instantReplyId;
    ?>
"><br /></div>
		</div>
	</div>
	</td></tr></table>
	<?php 
    for ($i = 0; $i <= $levellim; $i++) {
        echo "</div>";
    }
}
开发者ID:brocococonut,项目名称:yGallery,代码行数:101,代码来源:comments.php

示例6: showThumbnails


//.........这里部分代码省略.........
        echo fuzzy_number(12);
        ?>
</option>
				<option <?php 
        echo $tmpLimit == 24 ? 'selected="selected"' : "";
        ?>
 value="24"><?php 
        echo fuzzy_number(24);
        ?>
</option>
				<option <?php 
        echo $tmpLimit == 48 ? 'selected="selected"' : "";
        ?>
 value="48"><?php 
        echo fuzzy_number(48);
        ?>
</option>
			</select>

			<input class="submit" type="submit" value="<?php 
        echo _UPDATE;
        ?>
"
				style="vertical-align: middle" />

			</form>
		</div>
		<?php 
        $galleryNavs = ob_get_contents();
        ob_end_flush();
        ?>
		<div class="hline">&nbsp;</div>
		<?php 
        iefixEnd();
    }
    $cols = 0;
    $imagesToGo = $limit;
    if (isset($params["folderParent"])) {
        $imagesToGo++;
    }
    $useids = array();
    foreach ($gallery as $objData) {
        if (isset($objData["objCreator"])) {
            $useids[] = $objData["objCreator"];
        }
    }
    prefetchUserData(array_unique($useids));
    if ($params["onDisplayFiltering"]) {
        // Prepare user filters array (used below).
        $useFilters = preg_split('/[^0-9]/', $_auth["useObjFilters"], 63, PREG_SPLIT_NO_EMPTY);
    }
    foreach ($gallery as $objid => $objData) {
        if ($objid < 0) {
            // Show a folder icon.
            ?>
			<div class="gallery_col">
				<div class="a_center padded mar_bottom<?php 
            echo $cols < 3 ? " mar_right" : "";
            ?>
">
					<?php 
            if (isset($params["folderParent"])) {
                $url = url(($params["isExtras"] ? "extras" : "gallery") . "/" . strtolower($params["folderParent"]["useUsername"]));
                ?>
						<div style="padding-top: 35px;">
							<a href="<?php 
开发者ID:brocococonut,项目名称:yGallery,代码行数:67,代码来源:gallery.php


注:本文中的iefixEnd函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。