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


PHP displayMessages函数代码示例

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


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

示例1: superstore_save

    superstore_save("{$dss_currentWorkgroup}", $dss_sessionCookie, "char", $_REQUEST["char"]);
    superstore_save("{$dss_currentWorkgroup}", $dss_sessionCookie, "currentPage", 0);
}
if (trim($_REQUEST["currentPage"]) != "") {
    superstore_save("{$dss_currentWorkgroup}", $dss_sessionCookie, "currentPage", $_REQUEST["currentPage"]);
}
$char = superstore_fetch("{$dss_currentWorkgroup}", $dss_sessionCookie, "char");
$currentPage = escapeValue(superstore_fetch("{$dss_currentWorkgroup}", $dss_sessionCookie, "currentPage"));
require "resources/header.php";
?>
				<h2>Projects for <?php 
echo $workgroupResult["name"];
?>
</h2>
				<?php 
displayMessages($_REQUEST["infoMessage"], $_REQUEST["errorMessage"], $required);
if ($dss_numWorkgroups > 1 || $dss_accessLevel > 0) {
    ?>
				<a href="workgroup_list.php"><img src="/resources/cancel.png" border="0" alt="Return to workgroup list" title="Return to workgroup list"></a>
<?php 
}
?>
				<a href="project_add.php"><img src="/resources/add.png" border="0" alt="Add new project" title="Add new project"></a>
<?php 
if ($dss_accessLevel > 0) {
    ?>
				<a href="workgroup_edit.php?workgroupId=<?php 
    echo $dss_currentWorkgroup;
    ?>
"><img src="/resources/pencil.png" border="0" alt="Edit this workgroup" title="Edit this workgroup"></a>
<?php 
开发者ID:kent-state-university-libraries,项目名称:KentDSS,代码行数:31,代码来源:project_list.php

示例2: db_query

$itemId = $_REQUEST["itemId"];
$itemQuery = db_query("SELECT filename,checksum FROM item WHERE id=" . escapeValue($itemId));
if (db_numrows($itemQuery) == 1) {
    $itemResult = db_fetch($itemQuery);
} else {
    header("Location: /index.php");
    exit;
}
$pod0checksum = md5_file($dss_fileshare . $dss_currentProject . "/" . $itemResult["filename"]);
$pod1checksum = file_get_contents("http://" . $dss_pod1name . "/file_checksum.php?file=" . urlencode($dss_fileshare . $dss_currentProject . "/" . $itemResult["filename"]));
$pod2checksum = file_get_contents("http://" . $dss_pod2name . "/file_checksum.php?file=" . urlencode($dss_fileshare . $dss_currentProject . "/" . $itemResult["filename"]));
require "resources/header.php";
?>
				<h2>Item Restore</h2>
				<?php 
displayMessages($_REQUEST["infoMessage"], $_REQUEST["errorMessage"]);
?>
				<a href="item_detail.php?itemId=<?php 
echo $itemId;
?>
"><img src="/resources/cancel.png" border="0" alt="Return to item detail" title="Return to item detail"></a>
				<table cellpadding="0" cellspacing="0" border="0">
					<tr class="<?php 
$i++;
echo $dss_rowStyles[$i % 2];
?>
">
						<td class="label">Stored Checksum:</td>
						<td class="data"><?php 
echo $itemResult["checksum"];
?>
开发者ID:kent-state-university-libraries,项目名称:KentDSS,代码行数:31,代码来源:item_restore.php

示例3: catch

        }
        localvars::add("form", $builtForm);
        localvars::add("leftnav", navigation::buildProjectNavigation($engine->cleanGet['MYSQL']['formID']));
        localvars::add("objectID", $engine->cleanGet['MYSQL']['objectID']);
        //////////
        // Project Tab Stuff
        $selectedProjects = objects::getProjects($engine->cleanGet['MYSQL']['objectID']);
        localVars::add("projectOptions", projects::generateProjectChecklist($selectedProjects));
        // Project Tab Stuff
        //////////
    } catch (Exception $e) {
        log::insert("Data Entry: Object: Error", $engine->cleanGet['MYSQL']['objectID'], $engine->cleanGet['MYSQL']['formID'], $e->getMessage());
        errorHandle::errorMsg($e->getMessage());
    }
}
localVars::add("results", displayMessages());
// Display warning if form is not part of current project
forms::checkFormInCurrentProjects($engine->cleanGet['MYSQL']['formID']);
localvars::add("actionHeader", isnull($engine->cleanGet['MYSQL']['objectID']) ? "Add" : "Edit");
localvars::add("parentHeader", isnull($parentObject) ? "" : "<h2>Adding Child to Parent '" . $parentObject['data'][$form['objectTitleField']] . "'</h2>");
$engine->eTemplate("include", "header");
?>

{local var="projectWarning"}

<section>
	<header class="page-header">
		<h1>{local var="actionHeader"} Object - {local var="formName"}</h1>
		{local var="parentHeader"}
	</header>
开发者ID:PseudoAj,项目名称:mfcs,代码行数:30,代码来源:object.php

示例4: displayMessages

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
    <link href="css/style.css" rel="stylesheet" type="text/css">
    <link href="css/jquery.dataTables.min.css" rel="stylesheet" type="text/css">
    <script src="js/jquery.js" chaset="utf-8" type="text/javascript"></script>
    <script src="js/jquery.dataTables.min.js" charset="utf-8" type="text/javascript"></script>
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-md-offset-2 col-md-7">
                <? echo displayMessages($errors,false);?>
            </div>
        </div>
        <div class="row">
            <div class="col-md-offset-3 col-md-7">
                <h1>Complaints Search App</h1>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12"></div>
        </div><br>
        <div class="row">
            <div class="col-md-offset-3 col-md-7">
                <form method="post" action="index.php" class="form-inline">
                    <div class="form-group">
                        <label for="searcher">Search Criteria:</label>
开发者ID:shreyathacker21,项目名称:complaintsSearch-MongoDB-and-PHP,代码行数:31,代码来源:index.php

示例5: displayMessages

			<div id = "audio">
						Submit an MP4 link:<br>
						<input type = "text" style="color:darkCyan" size = "50" name = "audio_enter"> <br>
						Enter any Tags: <input type = "text" style="color:darkCyan" size = "50" name = "tags_audio"> <br><br>
						<input type="submit" style="font-face: 'Comic Sans MS'; color: black;" value = "Submit" name = "audio_sub"/>
			</div>

			</form>

		</div>

		<div id = "messageHolder">
			<div id = "displayMsg">	
				<p> Messages: </p> <br>
					<?php 
displayMessages();
?>
				<br>
				<button type="button" style="font-face: 'Comic Sans MS'; color: black;" onclick = "showCreateMsg(0)">New Message</button>
			</div>
			
			<div id = "createMsg">
				<form action="inbox.php" method="post">
					Select a friend: <br>
					<select name = 'tofield' style="color:darkCyan">
					<?php 
displayFriendSelection();
?>
					</select>
					<br>
					Create new message: <br>
开发者ID:dcsmitty,项目名称:Rumblr,代码行数:31,代码来源:index.php

示例6: displayMessages

}
$complaint = $dl->findComplaintById($id);
?>

<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Complaints Details</title>
    <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-md-offset-2 col-md-7">
                <? echo displayMessages($messages,$success);?>
            </div>
        </div>
        <div class="row">
            <div class="col-md-offset-3 col-md-7">
                <h1>Complaint # <?echo $complaint->getComplaintId();?></h1>
            </div>
        </div>
        <div class="row">
            <div class="col-md-offset-4 col-md-3">
                <div class="image">
                    <img src="<? echo $complaint->getImage();?> " width="150px" height="150px" class="img-responsive">
                </div>
            </div>

        <div class="row">
开发者ID:shreyathacker21,项目名称:complaintsSearch-MongoDB-and-PHP,代码行数:31,代码来源:details.php

示例7: displayMessages

                        </ul>
                    </li>
                </ul>
                
            </div>
            </div>
            <div class='inputEverything'>
                <div class='menu3'>
                    <form method='get' action='messages.php'>
                        <input id="checkbox" name="checkBox" type="checkbox" value="1" />All Messages
                        <br> 
                        <input id="checkbox" name="checkBox" type="checkbox" value="0" />Messages Not Replied
                        <input type='submit' value='Choose'>
                    </form>
                </div>
                <div class='homeThread'>
<?php 
if ($whatToDisplay == 0) {
    displayMessages($user);
} elseif ($whatToDisplay == 1) {
    displayAllMessages($user);
}
?>
                </div>
            </div>
    </body>
</html>



开发者ID:Ozhan-Azizi,项目名称:Social-Netowrk-Application,代码行数:27,代码来源:messages.php


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