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


PHP Templates::Load方法代码示例

本文整理汇总了PHP中Templates::Load方法的典型用法代码示例。如果您正苦于以下问题:PHP Templates::Load方法的具体用法?PHP Templates::Load怎么用?PHP Templates::Load使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Templates的用法示例。


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

示例1: array

</pre>
				</div>
				<div class="modal-footer">
					 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
				</div>
			</div>
		
		</div>
	
	</div>
<?php 
}
if (isset($_GET["rcdata"])) {
    print Templates::Load("templates/misc/rcdata_dump.php", array(""));
}
if (isset($_GET["rtbitmap"])) {
    print Templates::Load("templates/misc/rtbitmap_dump.php", array(""));
}
if (isset($_GET["rtstring"])) {
    print Templates::Load("templates/misc/rtstring_dump.php", array(""));
}
//check if we found the right section for dumping the resources
$sectionFound = false;
foreach (Binary::sections($binary) as $s) {
    if ($va == $s["va"]) {
        $sectionFound = true;
    }
}
if (!$sectionFound && $va) {
    print Common::Error("Error", "The section with VirtualAddress={$va} was not found");
}
开发者ID:340211173,项目名称:mandingo,代码行数:31,代码来源:resources.php

示例2: ob_clean

				</li>
			</ul>
		</div>
	</div>
<p>

<?php 
if ($op == "tools") {
    if (Common::getString("fun") == "pdf") {
        ob_clean();
    }
    print Templates::Load("templates/radare2/index.php", array(""));
} elseif ($op == "pefile") {
    print Templates::Load("templates/pefile/index.php", array(""));
} elseif ($op == "results") {
    print Templates::Load("templates/sandbox/index.php", array(""));
} elseif ($op == "screenshots") {
    if (count($images)) {
        foreach ($images as $img) {
            ?>
			<center>			
			 <a id="modal-<?php 
            echo $img;
            ?>
" href="#modal-container-<?php 
            echo $img;
            ?>
" role="button" class="btn" data-toggle="modal">
			<p><?php 
            echo $img;
            ?>
开发者ID:340211173,项目名称:mandingo,代码行数:31,代码来源:report.php

示例3: number_format

    ?>
						</td>
						<td>
							<a href="?report=<?php 
    echo $vars["md5"];
    ?>
&op=tools&app=monodis&fun=presources&id=<?php 
    echo $r["id"];
    ?>
"><?php 
    echo $r["name"];
    ?>
</a>
						</td>
						<td>
							<?php 
    echo number_format($r["size"]);
    ?>
						</td>
					</tr>
<?php 
}
?>
				</tbody>
			</table>
		</div>
	</div>
<?php 
if (strlen($id)) {
    print Templates::Load("templates/mono/resource_dump.php", array_merge($vars, array("id" => $id)));
}
开发者ID:340211173,项目名称:mandingo,代码行数:31,代码来源:presources.php

示例4: info

 static function info($title, $description)
 {
     $html = Templates::Load("templates/website/info.php", array("title" => $title, "description" => $description));
     return $html;
 }
开发者ID:340211173,项目名称:mandingo,代码行数:5,代码来源:common.php

示例5: Error

 static function Error($msg)
 {
     return Templates::Load("templates/website/error.php", array("msg" => $msg));
 }
开发者ID:340211173,项目名称:mandingo,代码行数:4,代码来源:website.php

示例6: array

    $html = Website::page("contact.html", array("md5" => $md5));
}
if (isset($_GET["samples"])) {
    $html = Website::page("samples.php", array("md5" => $md5));
}
if (isset($_GET["analyze"])) {
    $html = Website::page("analyze.php", array("md5" => $md5));
}
if (isset($_GET["submit"])) {
    $html = Website::page("submit.php", array("md5" => $md5));
}
if (isset($_GET["report"])) {
    $html = Website::page("report.php", array("md5" => $md5));
}
if (isset($_GET["image"])) {
    $html = Templates::Load("templates/website/image.php", array("md5" => $md5));
}
if (isset($_GET["icon"])) {
    $html = Templates::Load("templates/pefile/icon.php", array("md5" => $md5));
}
if (isset($_GET["bitmap"])) {
    $html = Templates::Load("templates/pefile/bitmap.php", array("md5" => $md5));
}
if (!isset($html)) {
    $html = Website::page("index.html", array("md5" => $md5));
}
print $html;
?>


开发者ID:340211173,项目名称:mandingo,代码行数:28,代码来源:index.php

示例7: array_merge

							<?php 
    } else {
        ?>
								<?php 
        echo $r["name"];
        ?>
							<?php 
    }
    $lastname = $r["name"];
    ?>
						</td>
					</tr>
					<?php 
    if (strlen($pid) && $pid == $r["pid"] && !$processDumped) {
        print "</table>";
        print Templates::Load("templates/sandbox/process_pid.php", array_merge($vars, array("pid" => $pid)));
        $processDumped = true;
        if ($i < count($vars["processes"])) {
            ?>
			<table class="table table-bordered">
				<thead>
					<tr>
						<th>
							#
						</th>
						<th>
							Pid
						</th>
						<th>
							<center>Action</center>
						</th>
开发者ID:340211173,项目名称:mandingo,代码行数:31,代码来源:processes.php

示例8: ob_clean

<?php

ob_clean();
print Templates::Load("templates/website/header.php", array(""));
?>
<!--
<html>
<head>
<style>
body{
	font-family:courier-new;
	color:lime;
	background:black;
}
</style>
</head>
-->
<font size=+2>
<?php 
$md5 = Common::getMD5("analyze");
if (!file_exists("uploads/{$md5}.bin")) {
    print "ERROR - The sample '" . htmlentities($md5) . "' was not found";
    return;
}
?>
Analyzing sample <a href="?report=<?php 
echo $md5;
?>
"><?php 
echo $md5;
?>
开发者ID:340211173,项目名称:mandingo,代码行数:31,代码来源:analyze.php

示例9: array

    if (preg_match("/^radare2\\/(rabin2|rahash2)/", $app)) {
        print Radare2::call($app, $fun, $binary);
    }
    if (preg_match("/^radare2\\/radare2/", $app)) {
        $functions = Radare2::r2_functions($binary);
        $codesize = Binary::codeSize($binary);
        $entrypoint = Pefile::entrypoint($binary);
        print Templates::Load("templates/art/drawing3.php", array("functions" => $functions, "codesize" => $codesize, "entrypoint" => $entrypoint, "md5" => $md5));
        print Templates::Load("templates/radare2/r2_functions.php", array("functions" => $functions, "md5" => $md5));
    }
    if (preg_match("/^pefile/", $app)) {
        print Pefile::call($fun, $binary);
    }
    if (preg_match("/^monodis/", $app)) {
        if ($fun == "presources") {
            print Templates::Load("templates/mono/presources.php", array("presources" => $presources, "binary" => $binary, "md5" => $md5));
        } else {
            print Mono::call($fun, $binary);
        }
    }
} else {
    print "Binary not found.. removed?";
}
?>
					</p>
				</div>
			</div>
		</div>
	</div>

开发者ID:340211173,项目名称:mandingo,代码行数:29,代码来源:index.php


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