Files
mirror-processhacker/misc/website/websitev2/index.php
T
dmex 4c069e9489 WebsiteV2: sync changes to SVN while I still have access :|
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4791 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2011-11-02 07:42:50 +00:00

263 lines
11 KiB
PHP

<?php
$pagetitle = "Overview";
include("header.php");
include("config.php");
?>
<div class="page">
<div class="yui-d0">
<div class="watermark-apps-portlet">
<div class="flowed-block">
<img alt="" width="64" height="64" src="/images/logo.png">
</div>
<div class="flowed-block wide">
<h2>Process Hacker</h2>
<ul class="facetmenu">
<li class="overview active"><a href="/">Overview</a></li>
<li><a href="/features.php">Features</a></li>
<li><a href="/screenshots.php">Screenshots</a></li>
<li><a href="/downloads.php">Downloads</a></li>
<li><a href="/faq.php">FAQ</a></li>
<li><a href="/about.php">About</a></li>
<li><a href="/forums/">Forum</a></li>
</ul>
</div>
</div>
<div class="yui-t4">
<div class="yui-b side">
<div class="portlet">
<h2 class="center">Downloads</h2>
<div class="downloads">
<div class="version">
Latest version is <?php echo $LATEST_PH_VERSION ?>
</div>
<li>
<a href="http://sourceforge.net/projects/processhacker/files/processhacker2/processhacker-<?php echo $LATEST_PH_VERSION ?>-setup.exe/download" title="Setup (recommended)">Installer</a>
</li>
<li>
<a href="http://sourceforge.net/projects/processhacker/files/processhacker2/processhacker-<?php echo $LATEST_PH_VERSION ?>-bin.zip/download" title="Binaries (portable)">Binaries (portable)</a>
</li>
<li>
<a href="http://sourceforge.net/projects/processhacker/files/processhacker2/processhacker-<?php echo $LATEST_PH_VERSION ?>-src.zip/download" title="Source code">Source code</a>
</li>
<div class="released">
Released <?php echo $LATEST_PH_RELEASE_DATE ?>
</div>
</div>
<div class="center">
<a href="http://sourceforge.net/project/project_donations.php?group_id=242527">
<img alt="Donate" src="/images/donate.gif">
</a>
</div>
</div>
<div class="portlet" >
<h2 class="center">Quick Links</h2>
<ul class="involvement">
<li><a href="http://sourceforge.net/projects/processhacker/">Sourceforge Project Page</a></li>
<li><a href="/forums/viewforum.php?f=24">Report a bug</a></li>
<li><a href="/forums/viewforum.php?f=5">Ask a question</a></li>
<li><a href="http://processhacker.svn.sourceforge.net/viewvc/processhacker/2.x/trunk/">Browse source code</a></li>
<li><a href="http://processhacker.sourceforge.net/doc">Source code documentation</a></li>
</ul>
</div>
</div>
<div class="top-portlet">
<div class="summary">
<p>Process Hacker is a feature-packed tool for manipulating processes and services on your computer.</p>
<p><strong>Key features of Process Hacker:</strong></p>
<ul>
<li>&#160;•&#160;A simple, customizable tree view with highlighting showing you the processes running on your computer.</li>
<li>&#160;•&#160;Detailed system statistics with graphs.</li>
<li>&#160;•&#160;Advanced features not found in other programs, such as detaching from debuggers, viewing GDI handles, viewing heaps, injecting and unloading DLLs, and more.</li>
<li>&#160;•&#160;Powerful process termination that bypasses security software and rootkits.</li>
<li>&#160;•&#160;View, edit and control services, including those not shown by the Services console.</li>
<li>&#160;•&#160;View and close network connections.</li>
<li>&#160;•&#160;Starts up almost instantly, unlike other programs.</li>
<li>&#160;•&#160;<a href="./features.php">Many more features...</a></li>
</ul>
<p><strong>Compared with Process Explorer, Process Hacker:</strong></p>
<ul>
<li>&#160;•&#160;Implements all of the functionality offered by Process Explorer, plus more advanced features.</li>
<li>&#160;•&#160;Performs stack traces correctly for .NET programs, with managed symbol resolution.</li>
<li>&#160;•&#160;Allows you to see what a thread is waiting on.</li>
<li>&#160;•&#160;Has advanced string scanning capabilities, as well as regular expression filtering.</li>
<li>&#160;•&#160;Highlights both relocated and .NET DLLs.</li>
<li>&#160;•&#160;Shows symbolic access masks (e.g. <code>Read, Write</code>), rather than just numbers (e.g. <code>0x12019f</code>).</li>
<li>&#160;•&#160;Shows names for transaction manager objects and ETW registration objects.</li>
<li>&#160;•&#160;Shows detailed token information, as well as allowing privileges to be enabled and disabled.</li>
</ul>
</div>
</div>
<div class="yui-g">
<div class="yui-u first">
<div class="portlet">
<p><strong>Latest News</strong></p>
<?php
$sql = "SELECT
t.topic_id, t.topic_title, t.topic_last_post_id, t.forum_id,
p.post_id, p.poster_id, p.post_time,
u.user_id, u.username, u.user_colour, u.user_avatar, u.user_avatar_type, u.user_avatar_width, u.user_avatar_height
FROM $table_topics t, $table_forums f, $table_posts p, $table_users u
WHERE t.topic_id = p.topic_id AND
f.forum_id = t.forum_id AND
t.forum_id = 1 AND
t.topic_status <> 2 AND
p.post_id = t.topic_last_post_id AND
p.poster_id = u.user_id
ORDER BY p.post_id DESC LIMIT $topicnumber";
if ($query = $db->sql_query($sql))
{
while($row = $db->sql_fetchrow($query))
{
$topic_title = $row['topic_title'];
//$post_text = $row['post_text'];
$author_avatar = $row['user_avatar'];
$post_author = get_username_string('full', $row['poster_id'], $row['username'], $row['user_colour']);
$post_date = date('F jS, Y, g:i a', $row["post_time"]);
$post_link = append_sid("{$phpbb_root_path}viewtopic.php", "p=" . $row['post_id'] . "#p" . $row['post_id']);
//$bbcode = new bbcode(base64_encode($row['bbcode_bitfield']));
//$bbcode->bbcode_second_pass($post_text, $row['bbcode_uid'], $row['bbcode_bitfield']);
//$post_text = smiley_text($post_text);
//$post_text = str_replace('&nbsp;','',$post_text);
//$post_text = str_replace('./forums','http://processhacker.sourceforge.net/forums/',$post_text);
//$post_text = substr($post_text, 0, 300);
if ($author_avatar)
{
//$avatar = get_user_avatar($author_avatar, $row['user_avatar_type'], 16, 16);
echo
"<div class=\"ft\">
<a href=\"{$post_link}\">{$topic_title}</a>
<span style=\"color:#C0C0C0\">
by {$post_author}
<div class=\"forumdate\">{$post_date}</div>
</span>
</div>";
}
else
{
echo
"<div class=\"ft\">
<a href=\"{$post_link}\">{$topic_title}</a>
<span style=\"color:#C0C0C0\">
by {$post_author}
<div class=\"forumdate\">{$post_date}</div>
</span>
</div>";
}
}
$db->sql_freeresult($query);
}
else
{
echo "<p>Query failed: ".mysql_error()."</p>";
}
?>
</div>
</div>
<div class="yui-g">
<div class="portlet">
<p><strong>Forum Activity</strong></p>
<?php
$sql = "SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.forum_id, p.post_id, p.poster_id, p.post_time, u.user_id, u.username, u.user_colour, u.user_avatar, u.user_avatar_type, u.user_avatar_width, u.user_avatar_height
FROM $table_topics t, $table_forums f, $table_posts p, $table_users u
WHERE t.topic_id = p.topic_id AND
f.forum_id = t.forum_id AND
t.forum_id != 1 AND
t.forum_id != 7 AND
t.topic_status <> 2 AND
p.post_id = t.topic_last_post_id AND
p.poster_id = u.user_id
ORDER BY p.post_id DESC LIMIT $topicnumber";
if ($query = $db->sql_query($sql))
{
while($row = $db->sql_fetchrow($query))
{
$topic_title = $row['topic_title'];
//$post_text = nl2br($row['post_text']);
$author_avatar = $row['user_avatar'];
$post_author = get_username_string('full', $row['poster_id'], $row['username'], $row['user_colour']);
$post_date = date('F jS, Y, g:i a', $row["post_time"]);
$post_link = append_sid("{$phpbb_root_path}viewtopic.php", "p=" . $row['post_id'] . "#p" . $row['post_id']);
if ($author_avatar)
{
//$avatar = get_user_avatar($author_avatar, $row['user_avatar_type'], 16, 16);
echo
"<div class=\"ft\">
<a href=\"{$post_link}\">{$topic_title}</a>
<span style=\"color:#C0C0C0;\">
by {$post_author}
<div class=\"forumdate\">{$post_date}</div>
</span>
</div>";
}
else
{
echo
"<div class=\"ft\">
<a href=\"{$post_link}\">{$topic_title}</a>
<span style=\"color:#C0C0C0\">
by {$post_author}
<div class=\"forumdate\">{$post_date}</div>
</span>
</div>";
}
}
$db->sql_freeresult($query);
}
else
{
echo "<p>Query failed: ".mysql_error()."</p>";
}
?>
</div>
</div>
<div class="yui-u">
<div id="structural-subscription-content-box"></div>
</div>
</div>
<div class="yui-g">
<div class="yui-u first">
<div class="portlet">
<a href="/screenshots.php"><p><strong>Screenshots</strong></p></a>
<a href="/images/screenshots/processes_tab_large.png" rel="lytebox[group1]" style="margin-left: 1em; margin-right: 1em;">
<img alt="" width="200" height="107" src="/images/screenshots/processhacker_small.png">
</a>
<a href="/images/screenshots/sysinfo_large.png" rel="lytebox[group1]">
<img alt="" width="200" height="107" src="/images/screenshots/sysinfo_small.png">
</a>
</div>
</div>
<div class="yui-u">
<div class="portlet">
<p><strong>Statistics</strong></p>
<script type="text/javascript" src="http://www.ohloh.net/p/329666/widgets/project_basic_stats.js"></script>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include("footer.php"); ?>