initial upload

This commit is contained in:
2026-03-15 14:37:05 -04:00
parent aa22bd4cde
commit f0255622f3
5508 changed files with 8823230 additions and 0 deletions

View File

@@ -0,0 +1,113 @@
<?php
/* Don't remove these lines. */
add_filter('comment_text', 'popuplinks');
foreach ($posts as $post) { start_wp();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo get_settings('blogname'); ?> - <?php echo sprintf(__("Comments on %s"), the_title('','',false)); ?></title>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_settings('blog_charset'); ?>" />
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
body { margin: 3px; }
</style>
</head>
<body id="commentspopup">
<h1 id="header"><a href="" title="<?php echo get_settings('blogname'); ?>"><?php echo get_settings('blogname'); ?></a></h1>
<h2 id="comments"><?php _e("Comments"); ?></h2>
<p><a href="<?php echo get_settings('siteurl'); ?>/wp-commentsrss2.php?p=<?php echo $post->ID; ?>"><?php _e("<abbr title=\"Really Simple Syndication\">RSS</abbr> feed for comments on this post."); ?></a></p>
<?php if ('open' == $post->ping_status) { ?>
<p><?php _e("The <acronym title=\"Uniform Resource Identifier\">URI</acronym> to TrackBack this entry is:"); ?> <em><?php trackback_url() ?></em></p>
<?php } ?>
<?php
// this line is WordPress' motor, do not delete it.
$comment_author = (isset($_COOKIE['comment_author_' . COOKIEHASH])) ? trim($_COOKIE['comment_author_'. COOKIEHASH]) : '';
$comment_author_email = (isset($_COOKIE['comment_author_email_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_email_'. COOKIEHASH]) : '';
$comment_author_url = (isset($_COOKIE['comment_author_url_'. COOKIEHASH])) ? trim($_COOKIE['comment_author_url_'. COOKIEHASH]) : '';
$comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_post_ID = $id AND comment_approved = '1' ORDER BY comment_date");
$commentstatus = $wpdb->get_row("SELECT comment_status, post_password FROM $wpdb->posts WHERE ID = $id");
if (!empty($commentstatus->post_password) && $_COOKIE['wp-postpass_'. COOKIEHASH] != $commentstatus->post_password) { // and it doesn't match the cookie
echo(get_the_password_form());
} else { ?>
<?php if ($comments) { ?>
<ol id="commentlist">
<?php foreach ($comments as $comment) { ?>
<li id="comment-<?php comment_ID() ?>">
<?php comment_text() ?>
<p><cite><?php comment_type(__('Comment'), __('Trackback'), __('Pingback')); ?> <?php _e("by"); ?> <?php comment_author_link() ?> &#8212; <?php comment_date() ?> @ <a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a></cite></p>
</li>
<?php } // end for each comment ?>
</ol>
<?php } else { // this is displayed if there are no comments so far ?>
<p><?php _e("No comments yet."); ?></p>
<?php } ?>
<?php if ('open' == $commentstatus->comment_status) { ?>
<h2><?php _e("Leave a comment"); ?></h2>
<p><?php _e("Line and paragraph breaks automatic, e-mail address never displayed, <acronym title=\"Hypertext Markup Language\">HTML</acronym> allowed:"); ?> <code><?php echo allowed_tags(); ?></code></p>
<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<p>
<input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" />
<label for="author"><?php _e("Name"); ?></label>
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
<input type="hidden" name="redirect_to" value="<?php echo wp_specialchars($_SERVER["REQUEST_URI"]); ?>" />
</p>
<p>
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" />
<label for="email"><?php _e("E-mail"); ?></label>
</p>
<p>
<input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" />
<label for="url"><?php _e("<acronym title=\"Uniform Resource Identifier\">URI</acronym>"); ?></label>
</p>
<p>
<label for="comment"><?php _e("Your Comment"); ?></label>
<br />
<textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea>
</p>
<p>
<input name="submit" type="submit" tabindex="5" value="<?php _e("Say It!"); ?>" />
</p>
<?php do_action('comment_form', $post->ID); ?>
</form>
<?php } else { // comments are closed ?>
<p><?php _e("Sorry, the comment form is closed at this time."); ?></p>
<?php }
} // end password check
?>
<div><strong><a href="javascript:window.close()"><?php _e("Close this window."); ?></a></strong></div>
<?php // if you delete this the sky will fall on your head
}
?>
<!-- // this is just the end of the motor - don't touch that line either :) -->
<?php //} ?>
<p class="credit"><?php timer_stop(1); ?> <?php echo sprintf(__("<cite>Powered by <a href=\"http://wordpress.org\" title=\"%s\"><strong>Wordpress</strong></a></cite>"),__("Powered by WordPress, state-of-the-art semantic personal publishing platform.")); ?></p>
<?php // Seen at http://www.mijnkopthee.nl/log2/archive/2003/05/28/esc(18) ?>
<script type="text/javascript">
<!--
document.onkeypress = function esc(e) {
if(typeof(e) == "undefined") { e=event; }
if (e.keyCode == 27) { self.close(); }
}
// -->
</script>
</body>
</html>

View File

@@ -0,0 +1,82 @@
<?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
<p><?php _e('أدخل كلمة المرور لتر التعليقات'); ?></p>
<p><?php _e('Enter your password to view comments.'); ?></p>
<?php return; endif; ?>
<h3 id="comments"><?php comments_number(__('لا تعليقات No Comments'), __('تعليق واحد One Comment'), __('تعليقات (%) Comments')); ?>
<?php if ( comments_open() ) : ?>
<a href="#postcomment" title="<?php _e("علق Comment"); ?>">&raquo;</a>
<?php endif; ?>
</h3>
<?php if ( $comments ) : ?>
<ol id="commentlist">
<?php foreach ($comments as $comment) : ?>
<li id="comment-<?php comment_ID(); ?>">
<?php comment_text(); ?>
<p><cite><?php comment_author_link(); ?><?php comment_type(__('تعليق Comment'), __('تتبع Trackback'), __('Pingback')); ?> | <a href="#comment-<?php comment_ID() ?>"><?php comment_date('Y.m.d'); ?> <?php comment_time('H:i'); ?></a></cite> | <?php edit_comment_link(__('حرر Edit'), '', ''); ?></p>
</li>
<?php endforeach; ?>
</ol>
<?php else : // If there are no comments yet ?>
<p><?php _e('لا تعليقات إلى الآن'); ?></p>
<p><?php _e('No comments yet.'); ?></p>
<?php endif; ?>
<p><?php comments_rss_link(__('خلاصات <abbr title="Really Simple Syndication">RSS</abbr>')); ?>
<?php if ( pings_open() ) : ?>
<a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Uniform Resource Identifier">URI</abbr>'); ?></a>
<?php endif; ?>
</p>
<?php if ( comments_open() ) : ?>
<h2 id="postcomment"><?php _e('علق Comment'); ?></h2>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
<p>يتعين عليك <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">الدخول</a> لتعلق.</p>

View File

@@ -0,0 +1,20 @@
</div>
<?php
// This code pulls in the sidebar:
include(get_template_directory() . '/sidebar.php');
?>
<div id="footer">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.0/"><img alt="رخصة العامة المبدعون" border="0" src="http://creativecommons.org/images/public/somerights20.gif" /></a>
<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=519770;
var sc_partition=3;
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><a href="http://www.statcounter.com/" target="_blank"><img src="http://c4.statcounter.com/counter.php?sc_project=519770&amp;amp;java=0" alt="free stats" border="0"></a> </noscript>
<!-- End of StatCounter Code -->
</div><!--footer ends-->
</body>
</html>

View File

@@ -0,0 +1,31 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="ar" dir="rtl" xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<meta name="description" content="ØóáÇÆöÚõ ÇáúÞóÇÏóÉö ãöäú ãóÕúÑó" />
<meta name="keywords" content="D+T, Dreams+Teams, Dreand and Teams, British Council, BC, Youth Sport Trust, YST, Egypt, Young Leaders, YL, Local Tutors, LT, Sports Festival, UK, Newcastle, England, Leadership, web log, blog, ÃÍáÇã ÇáÌãÇÚÉ¡ ØáÇÆÚ ÇáÞÇÏÉ¡ ÞíÇÏÉ¡ ãåÑÌÇäÇÊ ÑíÇÖíÉ¡ ãÚáãæä ãÍáíæä¡ ÇáãÌáÓ ÇáÈÑíØÇäí¡ ÕäÏæÞ ÔÈÇÈ ÇáÑíÇÖÉ"/>
<meta name="robots" content="index, follow" />
<meta name="author" content="Amr Gharbeia" />
<meta name="copyright" content="Some rights reserved according to the embedded Creative Commons license." />
<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );</style>
<link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
</head>
<body>
<div= id="body">
<div id="title-block">
<h1 id="blog-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<p id="description"><?php bloginfo('description'); ?></p>
<span style="position: absolute; top: 32px; left: 2%;"><img src="http://www.geocities.com/amrgharbeia/dt/DT200.jpg" /></br></span>
</div>
<div id="main-content">

View File

@@ -0,0 +1,74 @@
c<?php // Do not delete these lines
if ('wp-comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
die ('Please do not load this page directly. Thanks!');
$req = get_settings('require_name_email');
if (($withcomments) or ($single)) {
if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_'.$cookiehash] != $post->post_password) { // and it doesn't match the cookie
?>
<p><?php _e("Enter your password to view comments."); ?><p>
<?php
return;
}
}
$comment_author = (isset($_COOKIE['comment_author_'.$cookiehash])) ? trim($_COOKIE['comment_author_'.$cookiehash]) : '';
$comment_author_email = (isset($_COOKIE['comment_author_email_'.$cookiehash])) ? trim($_COOKIE['comment_author_email_'.$cookiehash]) : '';
$comment_author_url = (isset($_COOKIE['comment_author_url_'.$cookiehash])) ? trim($_COOKIE['comment_author_url_'.$cookiehash]) : '';
$comments = $wpdb->get_results("SELECT * FROM $tablecomments WHERE comment_post_ID = '$id' AND comment_approved = '1' ORDER BY comment_date");
?>
<!-- You can start editing here. -->
<h2 id="comments"><?php comments_number(__('لا تعليقات No Comments'), __('تعليق واحد One Comment'),__('تعليقات (%) Comments')); ?>
<?php if ('open' == $post->comment_status) { ?>
<a href="#postcomment" title="<?php _e("علق Make a Comment"); ?>">&raquo;</a>
<?php } ?>
</h2>
<?php if ('open' == $post->ping_status) { ?>
<p>عنوان متابعة آثار التدوينة Trackback URI</p>
<em><?php trackback_url() ?></em>
<?php } ?>
<?php if ($comments) { ?>
<div id="commentlist">
<?php foreach ($comments as $comment) { ?>
<p><cite><?php _e("كتب/كتبت"); ?> <?php comment_author_link() ?> <?php _e("said..."); ?></cite></p>
<?php comment_text() ?>
<a href="#comment-<?php comment_ID() ?>"><?php comment_time() ?></a> <?php comment_date() ?> | <?php edit_comment_link(__("حرر هذا التعليق Edit Comment"), ''); ?></p>
</li>
<?php } // end for each comment ?>
</div>
<?php } else { // this is displayed if there are no comments so far ?>
<p><?php _e("لا تعليقات إلى الآن No Comments Yet"); ?></p>
<?php } ?>
<p><?php comments_rss_link(__("احصل على التعليقات على هذه التدوينة بطريقة RSS")); ?></p>
<h2 id="postcomment"><?php _e("علق Make a Comment"); ?></h2>
<?php if ('open' == $post->comment_status) { ?>
<p><?php _e("بإمكانك استعمال HTML:"); ?> <code><?php echo allowed_tags(); ?></code></p>
<form action="<?php echo get_settings('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<p><label for="author">اسمك Name</label></p>
<p><input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" /><?php if ($req) _e('(required)'); ?><input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /><input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" /></p>
<p><label for="email">بريدك الإلكتروني Email</label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" /><?php if ($req) _e('(required)'); ?></p>
<p><label for="url">موقعك <acronym title='Uniform Resource Identifier'>URI</acronym></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="28" tabindex="3" /></p>
<p><label for="comment">تعليقك Comment</label></p>
<p><textarea name="comment" id="comment" cols="70" rows="4" tabindex="4"></textarea></p>
<p><input name="submit" type="submit" tabindex="5" value="أرسل Send"/></p>
</form>
<?php } else { // comments are closed ?>
<p><?php _e("عفوا، لا يمكنك التعليق الآن Sorry, the comment form is closed at this time."); ?></p>
<?php } ?>
<?php // if you delete this the sky will fall on your head
}
?>

View File

@@ -0,0 +1,28 @@
<?php
/* Don't remove this line. */
require('./wp-blog-header.php');
include(get_template_directory() . '/header.php');
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<h2 class="post-title" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link رابط دائم: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<div class="post-content"><?php the_content(); ?></div>
<div class="post-footer">
<p><?php _e("تصنيف Category"); ?> <?php the_category(',') ?> | <?php the_author_posts_link('nickname'); ?></p>
<p><?php the_time('H:i',TRUE); ?> <?php the_date('Y.m.d','','', TRUE); ?> | <?php comments_popup_link(__('لا تعليقات No Comments'), __('تعليق واحد One Comment'), __('تعليقات (%) Comments')); ?></p>
</div>
<?php trackback_rdf(); ?>
</div>
<?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<p><?php _e('عفوا، لا تدوينات تلائم اختيارك.'); ?></p>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<?php include(get_template_directory() . '/footer.php'); ?>

View File

@@ -0,0 +1,33 @@
<div id="side-content">
<ul>
<ul>
<li><a href="http://dreamsandteams.gharbeia.net/wp-login.php">دخول Login</a></li>
<li><a href="http://dreamsandteams.gharbeia.net/wp-register.php">تسجيل Register</a></li>
<li><a href="<?php bloginfo('rss2_url'); ?>" title="<?php _e('RSS خلاصة'); ?>"><img src="http://dreamsandteams.gharbeia.net/wp-content/themes/DT/images/RSS2.jpg"></a></li>
<li><a href="<?php bloginfo('comments_rss2_url'); ?>" title="<?php _e('RSS تعليقات'); ?>"><img src="http://dreamsandteams.gharbeia.net/wp-content/themes/DT/images/RSSComments.gif"></a></li>
<li><a href="http://www.bloglines.com/sub/http://dreamsandteams.gharbeia.net"> <img src="http://www.bloglines.com/images/sub_modern5.gif" border="0" alt="Subscribe with Bloglines اشترك في بلوجلاينز" title="تابع مدوناتك ومجموعاتك البريدية ومواقع أخرى في صفحة واحدة"/></a></li>
<li><a href="http://English-17822204352.SpamPoison.com"><img src="http://pics.inxhost.com/images/sticker.gif" alt="كافح سبام" title="كافح سبام"></a></li>
<li><a href="http://egybloggers.com/"><img src="http://www.egybloggers.com
/images/egypt_eg_ar.gif" border="0" alt="حلقة المدونات المصرية" title="حلقة المدونات المصرية"></a></li>
<li><a href="http://validator.w3.org/check/referer" title="<?php _e('تحقق من موافقة هذه الصفحة لمعايير XHTML 1.0'); ?>"><img src="http://dreamsandteams.gharbeia.net/wp-content/themes/DT/images/validxhtml.png"></a></li>
<li><a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=83"><img border="0" alt="استخدم فايرفوكس" title="استخدم فايرفوكس" src="http://sfx-images.mozilla.org/affiliates/Buttons/80x15/white_2.gif"/></a></li>
<li><a href="http://www.youthsporttrust.org/yst_home.html/"><img src="http://www.youthsporttrust.org/images/btn_yst_wlogo_off.gif" alt="صندوق رياضة الشباب" title="صندوق رياضة الشباب"</a></li>
<li><a href="http://britishcouncil.org.eg/"><img src="http://dreamsandteams.gharbeia.net/wp-content/themes/DT/images/BC100.jpg" alt="المجلس البريطاني" title="المجلس البريطاني"</a></li>
<li><a href="http://www.britishcouncil.org/dreams.htm"><img src="http://dreamsandteams.gharbeia.net/wp-content/themes/DT/images/DT100.jpg" alt="أحلام الجماعة - موقع المجلس البريطاني" title="أحلام الجماعة - موقع المجلس البريطاني"</a></li>
<li><a href="http://donate.ifrc.org"><img src="http://dreamsandteams.gharbeia.net/wp-content/themes/DT/images/irc_logo.gif" title="تبرع لضحايا تسونامي"></a></li>
</ul>
<?php get_links_list(); ?>
<li id="search">
<form id="searchform" method="get" action="<?php echo $PHP_SELF; ?>">
<div><input type="text" name="s" id="s" size="15" /><input type="submit" name="submit" value="<?php _e('ابحث Search'); ?>" />
</div>
</form>
</li>
<h3 id="categories"><?php _e('تصنيفات Categories'); ?><ul></h3><?php wp_list_cats(); ?></ul>
<h3 id="archives"><?php _e('ما سبق Archives'); ?> <ul></h3><?php wp_get_archives('type=monthly'); ?>
</li>
</li>
</ul>
</div>

View File

@@ -0,0 +1,69 @@
body {
color:#0C3754;
background:#F2D725;
text-align:justify;
font-weight:bold;
font-family:'Traditional Arabic', Arial, Helvetica, Sans-Serif;
}
a:link, a:visited, a:hover {
color: #0669AA;
text-decoration:none;
}
a img {
border-width:0;
}
#title-block {
width: 100%;
margin-top: 1.5%;
padding-right: 1.5%;
text-align: right;
color: #0669AA;
}
#main-content {
padding-right: 3%;
position: relative;
float: right;
width: 50%;
}
#side-content {
padding-left 3%;
width: 45%;
float: left;
text-align: left;
list-style-type: none;
}
#footer {
clear: both;
width: 100%;
padding: 2% 1.5% 0% 1.5%;
}
#blog-title, #blog-title a, #blog-title a:hover {
font-size: 150%;
font-family: 'DecoPT Bold Heading', 'Bold Italic Art', 'PT Bold Arch', 'Monotype Koufi', 'WinSoft Naskh', 'Traditional Arabic', Arial, Helvetica, Sans-Serif;
text-decoration:none;
}
#description {
font-size: 100%;
font-family: 'Akhbar MT', 'DecoType Naskh Variants', 'Traditional Arabic', 'Simplified Arabic', 'Lucida Grande', Arial, Helvetica, Sans-Serif;
}
.post-title, {
display:block;
text-decoration:none;
padding:1% 0% 0% 0%;
}
.post-title a, .post-title strong, .post-title a:hover {
color: #0669AA;
}
p.post-footer {
text-align:right;
}
.post img {
margin:0 0 0.5% 0;
padding:0.5%;
}
#side-content ul {
list-style:none;
}