📚Create 🆕 Programmer🔝©
341 subscribers
125 photos
60 files
120 links
🐾Adimn: #Programmer_femo 🌸🍃

🐾 @Askfemo_bot 🌸🍃

🐾Learning Programming🌸🍃

🐾Web Design🌸🍃

🐾About software🌸🍃

🐾Code🌸🍃

🐾Lua -bot-telegram🌸🍃
Download Telegram
📚Create 🆕 Programmer🔝©
#جماعة_الويب||خاصية الضل
<!DOCTYPE html>
<html>
<head>
<style>
body{
background-color: #000;
}
p{
color: #ffe;
}
div {
background-color: #4dff88;
width: 400px;
height: 150px;
padding: 20px;

box-shadow: 8px 8px 8px #ccccb3;
}
</style>
</head>
<body>
<p>بهذا الدرس راح اوضح خاصية حلوة وهيه اسمهة الضل -shadow</p>
<br>
<div>
الضل راح يكون اسفل ويمين ويسار ونكدر نحطه لكل الدف
</div>

</body>
</html>
📚Create 🆕 Programmer🔝©
#transition
<!DOCTYPE html>
<html>
<head>
<style>
body{
color:#ffe;
background: #000;

text-align:center;
}
div {
width: 50px;
height: 50px;
background: #4d4dff;
transition: width 2s;
}

div:hover {
width: 150px;
}

.div1{
width: 50px;
height: 50px;
background: #4d4dff;
transition: width 2s, height 4s;

}
.div1:hover {
width: 300px;
height: 300px;
}
</style>
</head>
<body>

<p>
بالبدايه استخدمنه خاصية هوفر ويه الروابط يعني من نوكف ع رابط يتغير لونة هسه نكدرنستخدم خاصية هوفر ويه الدف يعني نخلي الدف يتحرك ويتغير حجمه من نوكف عليه مثلا هذا الدف حجمه 50 من اوكف عليه راح يصير حجمه 150 والوقت مال تحريك الحجم حددته بخاصية الترانزشن ثانيتين
</p>

<div>اضغط هنا وسوف يتحرك بالعرض </div>
<br>
<br>

<div class="div1">اضغط هنا وسوف يتحرك بالطول والعرض </div>

</body>
</html>
Dont depend on anyone ☺️ because even your own shadows leaves u in darkness ⭐️🍃
.
.
#تصبحون_ع_خير_G_N
☺️ G M ..... حبايب اسفة اليوم خاف مااشرح لأن مريضة كلش 💔 اسفة ع تقصير ع كد الي اكدر عليه راح انزله الكم واعتذر منكم 😔
هذا البوت حلو يخليك تتعلم شون تسئل وتجاوب بلانكليزي ^^ يحجي وياك كأنما تحجي ويه احد @AndyRobot
📚Create 🆕 Programmer🔝©
#web_transition
<!DOCTYPE html>
<html>
<head>
<style>
body{
background: #000;
color:#ffe;
}
div {
width: 100px;
height: 100px;
background: #ff99ff;
transition: width 2s, height 2s, transform 2s;margin-left:180px;
}

div:hover {
background: #4d79ff;
width: 250px;
height: 250px;
transform: rotate(180deg);
}
</style>
</head>
<body>

<p>هذا المثال تطبيق ع خاصية ترانزفورم الي هيه تخلي الدف يدور ب180
درجه ونكدر نخليه 90 او 360 درجه ادور حول نفسهة
</p>

<div></div>

<p>ومن نظغط ع دف راح يتغير لونة من البنفسجي للأزرك </p>

</body>
</html>
📚Create 🆕 Programmer🔝©
https://www.youtube.com/watch?v=s0vqA2p2EUQ
☺️هذا اخر درس بكورس تعلم تصميم الويب 🍀خلص تصميم الويب 😇والحمدالله راح انزللكم كم شغلة تفيدكم بالويب
🌐🌐
شرح قالب ملف قفل الوسائط
🌐🌐



—[[

هذا الملف يقفل الوسائط كولهة مرة وحده ويدز تنبيه للمجموعه

—]]
🌐🌐


—[[
#السطر_الاول

local mohammed = msg['id']
local user = msg.from.id
local chat = msg.to.id
local moody = 'mate:'..msg.to.id

عرفنة متغير من نوع لوكال نحفظ بيهة الرسالة
والمتغير الثاني نحفظ بيه الايدي مال رسالة
والمتغير الثالث راح يحفظ الايدي مال كروب

—]]
🌐🌐
—[[
#السطر_الثاني
if redis:get(moody) and msg.media and not is_momod(msg) then

delete_msg(msg.id, ok_cb, false)
local test = "عزيزي~["..msg.from.first_name.."]".."\n".."يمنع نشر صور فيديوهات صوتيات وكافة الميديا هنا ان تكرر الامر سوف تجبرني على طردك😼☝️".."\n".." 🔺🔻 username : @"..(msg.from.username or " ")
reply_msg(mohammed, test, ok_cb, true)

end
return msg
end
هنا بهاي الاسطر راح نخلي شرط وهو اذا الريدز خزن الرسالة ونوع الرساله هيه ميديا
فدز رساله تحذيرية للمجموعه بيهم اسم الي دز الرساله ومعرفة


—]]
🌐🌐
—[[
#السطر_الثالث
if matches[1] == 'قفل الوسائط' and is_momod(msg) then
local th3boss= 'mate:'..msg.to.id
redis:set(th3boss, true)
local boss = '☑️ تم قفل 🔒 جميع الوسائط 🔕 \n🔺Order By : @'..msg.from.username..'\n🔻Order By : '.. msg.from.id..'\n'
reply_msg(mohammed, boss, ok_cb, true)
عرفنة داله من نوع فاكشن هنا شراح يصير؟
من يندز امر قفل الوسائط بالمجموعه راح يقارن ويه الامر الي موجود بالماجز ويدز رساله للمجموعه تم قفل الوسائط بعد ميفعل الريدز ويقفل الوسائط
وطبعا الحصانة لازم تكون مشرف او مطور
—]]
🌐🌐
—[[
#السطر_الرابع
elseif matches[1] == 'قفل الوسائط' and not is_momod(msg) then
local moody = 'للمشرفين فقط 🔺🔻'
reply_msg(mohammed, moody, ok_cb, true)

بهاي الاسطر راح يتأكد اذا الامر الي اندز هو قفل وسائط ونوع الحصانة عضو فيكوله هاي فقط للمشرفين
—]]
🌐🌐
—[[
#السطر_الخامس
elseif is_momod(msg) and matches[1] == 'فتح الوسائط' then
local th3boss= 'mate:'..msg.to.id
redis:del(th3boss)
local boss = '☑️ تم فتح جميع الوسائط 🔓🔔 \n🔺Order By : @'..msg.from.username..'\n🔻Order By : '.. msg.from.id..'\n'
reply_msg(mohammed, boss, ok_cb, true)

بهاي الاسطر راح يقارن اذا جانت الحصانة مو عضو بالمجموعه وجان الامر فتح وسائط فراح يدز تم فتح الوسائط ويفتح الوسائط
—]]
🌐🌐
—[[
#السطر_السادس
elseif matches[1] == 'فتح الوسائط' and not is_momod(msg) then
local moody= 'للمشرفين فقط 🔺🔻'
reply_msg(mohammed, moody, ok_cb, true)
واخيرا بهاي الاسطر راح يقارن اذا جان الامر الي اندز هو فتح وسائط والحصانة نوعهة عضو فيكوله للمشرفين فقط


—]]
🌐🌐
#شكل_الملف_راح_يكون_هيج: 🌐🌐
do

local function pre_process(msg)
local mohammed = msg['id']
local user = msg.from.id
local chat = msg.to.id
local moody = 'mate:'..msg.to.id
if redis:get(moody) and msg.media and not is_momod(msg) then

delete_msg(msg.id, ok_cb, false)
local test = "عزيزي~["..msg.from.first_name.."]".."\n".."يمنع نشر صور فيديوهات صوتيات وكافة الميديا هنا ان تكرر الامر سوف تجبرني على طردك😼☝️".."\n".." 🔺🔻 username : @"..(msg.from.username or " ")
reply_msg(mohammed, test, ok_cb, true)

end

return msg
end

local function MOHAMMED(msg, matches)
local mohammed = msg['id']

if matches[1] == 'قفل الوسائط' and is_momod(msg) then
local th3boss= 'mate:'..msg.to.id
redis:set(th3boss, true)
local boss = '☑️ تم قفل 🔒 جميع الوسائط 🔕 \n🔺Order By : @'..msg.from.username..'\n🔻Order By : '.. msg.from.id..'\n'
reply_msg(mohammed, boss, ok_cb, true)
elseif matches[1] == 'قفل الوسائط' and not is_momod(msg) then
local moody = 'للمشرفين فقط 🔺🔻'
reply_msg(mohammed, moody, ok_cb, true)
elseif is_momod(msg) and matches[1] == 'فتح الوسائط' then
local th3boss= 'mate:'..msg.to.id
redis:del(th3boss)
local boss = '☑️ تم فتح جميع الوسائط 🔓🔔 \n🔺Order By : @'..msg.from.username..'\n🔻Order By : '.. msg.from.id..'\n'
reply_msg(mohammed, boss, ok_cb, true)
elseif matches[1] == 'فتح الوسائط' and not is_momod(msg) then
local moody= 'للمشرفين فقط 🔺🔻'
reply_msg(mohammed, moody, ok_cb, true)
end
end

return {
patterns = {
"^(قفل الوسائط)$",
"^(فتح الوسائط)$",
},
run = MOHAMMED,
pre_process = pre_process
}
end
🌐🌐
اي شي مفهمتوه تكدرون تسئلوني☺️💗
وهذا شرح الوسائط ع ملف الزعيم .

Bot-telegram|💗|@progfemo96_bot||Channel: @create_programmer

🌐🌐
💗جماعة الويب راح انزللكم تصاميم مواقع جاهزة 🍀وجماعة لوا اختارو يا ملف اشرحلكم عليه اليوم @progfemo96_bot
🌐🌐
حبايب اكو تصحيح بملف منع الوسائط يعني حته بملف قفل صور وقفل روابط ياريت تعذروني ع خطأ وتصححون الخطأ من يمكم
الخطأ هو :
لازم بلملف
redis:set()
redis:get()
redis:del()
لازم نفس متغير مثلا منع صور
نسوي كذا
local hash = "photo:"..msg.to.id —بدايه فكشن
وراها يكون كذا

redis:set(hash, true)
redis:get(hash)
redis:del(hash)

كذا يكونن المفروض حتى يكون ملف شغال :) 🌐🌐
شكرا "علي ع تنبيه"💚
🙃🌱جماعة الويب راح انزللكم مواقع ويب كاملة تفيدكم وانتو تعدلون عليهة
📚Create 🆕 Programmer🔝©
#الموقع_الأول.
Create programmer.zip
532.9 KB
هذا الدزاين ماله يفيدكم تكدرون تحملوه وتعدلون عليه