الويب العربي

الويب العربي (http://www.arabwebtalk.com/index.php)
-   مجتمع ديموفنف (http://www.arabwebtalk.com/forumdisplay.php?f=73)
-   -   حركة حلوة راح تعجبكم ,, (http://www.arabwebtalk.com/showthread.php?t=132410)

المناور 28-01-2010 07:00 PM

حركة حلوة راح تعجبكم ,,
 
السلام عليكم ورحمة الله ,, اليوم سويت حركة عشان اختصر على نفسي الوقت في تحرير اخباري ,,

اول شي ادخل لوحة التحكم ,,

بعدين النماذج والقوالب --> نماذج العرض--> قائمة الاستايلات

واختر تحرير الاستايل الفعال عندك

اختر نموذج shownews.htm

ابحث عن
كود:

<div class="contenttitle2"><span style='float: right'><img border="0" src="{img_dir}/arroww2.gif"></span>{caption}</div>
واستبدلها
كود:

        <div class="contenttitle2"><span style='float: right'><a href="cp/modules/news.php?action=editmnews&amp;id={id}"><img border="0" src="{img_dir}/arroww2.gif"></a></span>{caption}</div>
اعتمد

وروح للصحيفة عندك

وادخل على أي خبر جوا مو في الصفحة الرئيسية

واضغط على السهم الاصفر الصغير اللي يجي بجنب عنوان الخبر وشوف وش راح يصير


بخليه لكم مفاجأة حتى تجربون

:)


دعواتكم :)

الساهر 28-01-2010 09:22 PM

cp/modules/news.php?action=editmnews

مدري وش دخل لوحة التحكم cp في الكود الثاني

على العموم ننتظر الاخوة المختصين لتحليل الكود وماهو عمله

علماً بأن هذي اول مشاركة لك ولا نعرف عنك شي فأعذرني مقدماً

@ VIP @ 28-01-2010 11:06 PM

عملت الحركة ما صار اي شي

المناور 29-01-2010 01:54 AM


عبدالله بن عبدالرحمن 29-01-2010 02:27 AM

:)

الطريقة كما مبينه من الكود ..

جداً رآئعه ..!

وتسهل في عملية تعديل الخبر ..

دون الذهاب إلى لوحة التحكم والبحث عن الخبر .. ووو ..!

خصوصاً اذا كان الخبر قديم .. وفي الصفحات الأخرى ,,

وآصل .. وتحية لك ..!

المناور 29-01-2010 02:30 AM

احسنت أخي عبد الله ...

انا ما بغيت أبين قلت بشوف من يطبقها ,,

وفعلا ,, الهدف منها هو التسهيل في عملية تحرير الاخبار ,,

عبدالسلام العنزي 29-01-2010 02:38 AM

ليتك اخوي مبين ميزة هذا الكود .. عشان الكل يركبه واهو مبسوط


وكل الشكر لك .. عمل مميز .. واصل ابداعاتك اخوي


تحيتي لك ،،

@ VIP @ 29-01-2010 02:41 AM

اخوي المناور هذه الكود الي عملته هل تشوف في خطأ

لاني عملته مرة ثانية ومافي شيء طلع لي او تغير عندي




كود:

<!-- INCLUDE BLOCK : header -->
<link rel="stylesheet" href="{img_dir}/rate.css" type="text/css">
<script type="text/javascript" language="javascript" src="scripts/behavior.js"></script>
<script type="text/javascript" language="javascript" src="scripts/rating.js"></script>
<table align="center" border="0" cellpadding="2" cellspacing="0" class="dcitbce" width="95%">
<tr>
<td>
<table {ldir} align="right" border="0" cellpadding="0" cellspacing="0" class="dcitbce">
<tr>
<td align="right" height="16"><img border="0" src="{img_dir}/se.gif" width="12" height="12">
<!-- START BLOCK : rewriteon -->
<a href="news-action-listnews.htm">{news}</a>
<!-- END BLOCK : rewriteon -->
<!-- START BLOCK : rewriteoff -->
<a href="news.php?action=listnews">{news}</a>
<!-- END BLOCK : rewriteoff -->
<br></td>
</tr><tr><td align="right" height="16">
 <!-- START BLOCK : rewriteonnav -->
{output} <a href="news-action-listnewsm-id-{catid}.htm"> {catname}</a></td></tr><tr><td align="right" height="16">
 <!-- END BLOCK : rewriteonnav -->
 <!-- START BLOCK : rewriteoffnav -->
{output} <a href="news.php?action=listnewsm&id={catid}"> {catname}</a></td></tr><tr><td align="right" height="16">
 <!-- END BLOCK : rewriteoffnav -->
<!-- START BLOCK : rewriteoncurrcat -->
{output} <a href="news-action-listnewsm-id-{catid}.htm"> {catname}</a><br />
{output}  {caption}
 <!-- END BLOCK : rewriteoncurrcat -->
<!-- START BLOCK : rewriteoffcurrcat -->
{output} <a href="news.php?action=listnewsm&id={catid}"> {catname}</a><br />
{output}  {caption}
 <!-- END BLOCK : rewriteoffcurrcat -->
</td>
</tr>
</table>
</td>
</tr>
</table>
<script type="text/javascript" language="javascript" src="{script_url}/scripts/poetry.js"></script>
<br>
<!-- START BLOCK : greet -->
<div id="blocktable" style="width:88%">
<div class="contenttitle2"><span style='float: right'><img border="0" src="{img_dir}/arroww2.gif"></span>كلمة الإهداء</div>
<table align="center" border="0" cellpadding="3" cellspacing="1" class="tborder" width="100%" height="40">
<tr>
<td class="tdc" width="100%" {ldir}><span class="news">{greeting}</span><p align=left>{sender_name}</p></td>
</tr>
</table>
</div>
<br>
<!-- END BLOCK : greet -->
<table align="center" border="0" cellpadding="1" cellspacing="0" width="99%">
<tr>
<td valign="top">
<!-- START BLOCK : extrablocks -->
<div id="blocktable" style="width: 130px;float:left">
<div class="blocktitle"><span style='float: right'><img border="0" src="{img_dir}/arroww.gif"></span>{extrablockname}</div>
{extracont}
<div id="extradiv{blockid}" style="position:relative;">
<div id="extradiv{blockid}status" style="position:relative; width:130px; display:none">
<div id="extradiv{blockid}procces" style="margin:5px 5px 5px 5px"></div>
</div>
<span id="extracont{blockid}">{moreless}</span>
</div>
</div>
<br><br>
<!-- END BLOCK : extrablocks -->
</td>
<td valign="top" width="100%">
<!-- START BLOCK : news -->
<div id="blocktable">
        <div class="contenttitle2"><span style='float: right'><a href="cp/modules/news.php?action=editmnews&amp;id={id}"><img border="0" src="{img_dir}/arroww2.gif"></a></span>{caption}</div>
<table align="center" border="0" cellpadding="8" cellspacing="1" class="tborder" width="100%">
<tr>
<td class=tdc {ldir}><span style='float:left'>{media}</span><div class="news">{text}</div></td>
</tr>
</table>
</div>
<div align="center">تم إضافته يوم {dab}</div>
<br>
<div align="center" class="dcitbce">شوهد {views} مرة - تم إرسالة {greet} مرة</div>
<br>
<div align="center" id="commentico" style="cursor:pointer;display:block">{allowcomnt}
<input type="image"  src="{script_url}/infimages/email.gif" name="submit" title="ارسل الخبر لصديق" onclick="makeRequest('greet.php?division=news&amp;id={id}&amp;action=pregreet','GET','','commentdiv','content','');">
<input type="image"  src="{script_url}/infimages/print.gif" name="submit" onclick="infaction('print','print','newsm','{id}');" title="اطبع المحتوى">
<input type="image"  src="{script_url}/infimages/html.gif" name="submit" onClick="infaction('html','save','newsm','{id}');" title="html حفظ بصيغة">
<input type="image"  src="{script_url}/infimages/pdf.gif" name="submit" onclick="infaction('pdf','save','newsm','{id}');" title="pdf حفظ بصيغة">
</div>
<!-- END BLOCK : news -->

<!-- START BLOCK : rating -->
<table class="tb" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td class="largertext" align="left" valign="top" width="50%">
        <div class="ratingblock"><div id="unit_long{id}">  <ul id="unit_ul{id}" class="unit-rating" style="width:150px;">    <li class="current-rating" style="width:{ratewidth}px;">التقييم {rate}/10</li>
<!-- START BLOCK : rate -->
<li><a href="rate.php?star={star}&amp;id={id}&amp;m={m}&amp;c=10&amp;v={votes}&amp;av={rate}&amp;r=1" title="{star}" class="r{star}-unit rater" rel="nofollow">{star}</a></li>
<!-- END BLOCK : rate -->
  </ul>  اضف تقييمك<p {ldir}>التقييم: <strong> {rate}</strong>/10 ({votes} صوت)  </p></div></div>
</td></tr></tbody></table>
<!-- END BLOCK : rating -->

<div id="commentdiv" style="position:relative; display:none">
<div id="commentdivstatus" style="position:relative; width:150px; display:none">
<div id="commentdivprocces" style="margin:5px 5px 5px 5px"></div>
</div>
<span id="content">
<script language="javascript">
function smilie(smilietext) {
document.commentform.comment.value += smilietext+" ";
document.commentform.comment.focus();
}
function Check(){
var the = document.commentform;
if (the.name.value == ""){
alert("يرجى كتابة اسمك");
the.name.focus();
the.name.style.background = "#FFD2D2";
return false;
}
if (the.email.value == ""){
the.name.style.background = "";
alert("يرجى كتابة بريدك");
the.email.focus();
the.email.style.background = "#FFD2D2";
return false;
}
if (the.comment.value == ""){
the.email.style.background = "";
alert("يرجى كتابة تعليقك");
the.comment.focus();
the.comment.style.background = "#FFD2D2";
return false;
}
return true;
}

function Checkn(){
var thenews = document.newsform;
if (thenews.yourname.value == ""){
alert("يرجى كتابة اسمك");
thenews.yourname.focus();
thenews.yourname.style.background = "#FFD2D2";
return false;
}
if (thenews.youremail.value == ""){
thenews.yourname.style.background = "";
alert("يرجى كتابة بريدك");
thenews.youremail.focus();
thenews.youremail.style.background = "#FFD2D2";
return false;
}
if (thenews.name.value == ""){
thenews.yourname.style.background = "";
thenews.youremail.style.background = "";
alert("يرجى كتابة اسم صديقك");
thenews.name.focus();
thenews.name.style.background = "#FFD2D2";
return false;
}
if (thenews.email.value == ""){
thenews.name.style.background = "";
thenews.yourname.style.background = "";
thenews.youremail.style.background = "";
alert("يرجى كتابة بريد صديقك");
thenews.email.focus();
thenews.email.style.background = "#FFD2D2";
return false;
}
return true;
}
</script>
</span>
</div>
<br>

<!-- START BLOCK : commentrecords -->
<div id="comt">
<div class="contenttitle2">الـتـعـلـيـقـات</div>
</div>
<br>
<!-- START BLOCK : commentrecord -->
<div id="comt">
<div class="dcitb">
<div class="{class}"><span style="float:left">{iptoc}</span> [{name}] [{date}] {allowcomnt}</div>
<div class="comment">{comment}</div>
</div>
</div>
<!-- START BLOCK : commentreplys -->
<div id="comt">
<div class="dcitb">
<div class="{class}"><span style="float:left">{repliptoc}</span> [{replname}] [{crdate}]</div>
<div class="comment">{commentrepl}</div>
</div>
</div>
<!-- END BLOCK : commentreplys -->
<br />
<!-- END BLOCK : commentrecord -->
<!-- END BLOCK : commentrecords -->
</td>
</tr>
</table>
<div class="dcitbce">{prev_next}</div>
<!-- INCLUDE BLOCK : footer -->


المناور 29-01-2010 02:57 AM

ماشوف شي خطا,,!!

والمفترض انه يسوي ارتباط على الصورة الصغيرة اللي في راس جدول الخبر بحيث يمكن من خلالها نحرر الخبر بسرعة


واذا كنت تجرب على موقع qtr72 فيه حاجة غريبة لفتت انتباهي :
انا المتصفح عندي chrome ولما احاول ادخل موقعك يعطيني رسالة تحذير ..
تحذير: إنّ زيارة هذا الموقع قد تلحق الضرر بالكمبيوتر!
إنّ الموقع www.qtr72.com . احذر هذه المواقع لأنّ مجرّد زيارتها كفيلة بإفساد الكمبيوتر. يستضيف فيما يبدو برمجيات خبيثة- وهي برمجبات قج تلحق الضرر بالكمبيوتر وتعمل بدون موافقتك.
لمزيد من التفاصيل عن مشاكل هذا الموقع، راجع صفحة صفحة تشخيص التصفح الآمن في Google ، القسم المتعلّق بالموقع www.qtr72.com

ههههههههه


شوف وش القصة :)

تحياتي

المناور 29-01-2010 03:00 AM

إقتباس:

اقتباس من مشاركة ..][ خرجاوي ][.. (المشاركة 715162)
ليتك اخوي مبين ميزة هذا الكود .. عشان الكل يركبه واهو مبسوط


وكل الشكر لك .. عمل مميز .. واصل ابداعاتك اخوي


تحيتي لك ،،



يعطيك العافية واتمنى لك الفائدة


وشف لك حل مع Bandwidth :D

الساهر 29-01-2010 04:13 AM

كذا تمام :)


راح تريحنا بهذي الطريقة السهلة


ننتظر منك المزيد ...

abu aymn 29-01-2010 09:55 AM

حركة حلوة
 
الله يجزاك كل خير

حركة مميزة ومفيدة

أتمنى أن تتحفنا بالمزيد من الحركات :)

المناور 29-01-2010 07:02 PM

إقتباس:

اقتباس من مشاركة الساهر (المشاركة 715174)
كذا تمام :)


راح تريحنا بهذي الطريقة السهلة


ننتظر منك المزيد ...

اتمنى لك التوفيق ،،

وكثرة أو قلة المشاركات ليس مقياسا يمكن أن نحكم به على ما يطرح من أفكار ,

@ VIP @ 29-01-2010 11:19 PM

اخوي المناور ياليت تعطيني الطريقة بشأن التحذير

ياليت توضح اكثر كيف عن طريق قوقل

المناور 29-01-2010 11:39 PM

الرسالة اخوي اختفت بعد ما انت غيرت الاستايل

لكن فيه عندك
Webpage error details
كود:

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Timestamp: Fri, 29 Jan 2010 20:37:26 UTC


Message: Expected '{'
Line: 4
Char: 74
Code: 0
URI: http://www.qtr72.com/


Message: Expected '{'
Line: 4
Char: 387
Code: 0
URI: http://www.qtr72.com/


Message: Expected '{'
Line: 4
Char: 20
Code: 0
URI: http://www.qtr72.com/


Message: Expected '{'
Line: 312
Char: 17
Code: 0
URI: http://www.qtr72.com/


@ VIP @ 29-01-2010 11:41 PM

ما فهمت اخوي المناور وش تعني هذه الرسالة

المناور 30-01-2010 01:49 AM

تعني انه عندك اخطاء برمجية في أحد السكربتات ,,,

يمكن سكربت الاخبار المتحركة ،، او سكربت ثاني بس اللي اتوقعه انه vbscript او javascript شيك على الاضافات اللي أضفتها ,,

خلنا على الخاص عشان ما يتغير الموضوع :)

اتشرف بالبحث معك عن مشكلتك


جميع الأوقات بتوقيت مكة المكرمة. الساعة الآن » 12:30 PM.

Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © ArabWebTalk.Com 2004-2012