Linux server19.dn-server.com 3.10.0-962.3.2.lve1.5.88.el7.x86_64 #1 SMP Fri Sep 26 14:06:42 UTC 2025 x86_64
LiteSpeed
Server IP : 46.209.20.154 & Your IP : 216.73.216.48
Domains :
Cant Read [ /etc/named.conf ]
User : emadteam
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
emadteam /
ep /
src /
sections /
CommentsForm /
Delete
Unzip
Name
Size
Permission
Date
Action
CommentsForm.css
2.38
KB
-rwxr-xr-x
2024-12-24 16:04
CommentsForm.js
8.22
KB
-rwxr-xr-x
2024-12-24 16:04
Save
Rename
"use client" import './CommentsForm.css'; import MainBtn from '../../Components/MainBtn/MainBtn'; import MainBtnOpen from '../../Components/MainBtnOpen/MainBtnOpen'; import { useState } from 'react'; import Image from "next/image"; function CommentsForm() { const [likeOne, setLikeOne ] = useState(13); const [isLikeOne, setIsLikeOne] = useState(false); const likedOne = () => { if(!isLikeOne){ setLikeOne(likeOne => ++likeOne); setIsLikeOne(true); }else{ setLikeOne(likeOne => --likeOne); setIsLikeOne(false); } } const [likeTwo, setLikeTwo ] = useState(13); const [isLikeTwo, setIsLikeTwo] = useState(false); const likedTwo = () => { if(!isLikeTwo){ setLikeTwo(likeTwo => ++likeTwo); setIsLikeTwo(true); }else{ setLikeTwo(likeTwo => --likeTwo); setIsLikeTwo(false); } } return ( <> <div className="pn position-relative d-flex flex-column"> <p className="lh-3 f-20 c-white rtl">دیدگاه کاربران</p> <p className="f-11 c-white-70 rtl">COMMENTS</p> <p className="orange-box zz position-absolute z-n-1"></p> </div> <div className='comments-form-container w-100 d-flex flex-column'> <div className='d-flex flex-column flex-lg-row-reverse justify-content-between'> <div className='w-100 xs-ml-0 ml-19 xs-mb-20 l-mb-0'> <input className="comment-input w-100 rtl" type="text" placeholder='نام و نام خانوادگی'></input> </div> <div className='w-100'> <input className="comment-input w-100 rtl" type="text" placeholder='ایمیل یا شماره تلفن'></input> </div> </div> <div className='w-100 mt-19 mb-21'> <textarea className='w-100 comment-input comment-input-textarea rtl' placeholder='نظر خودرا وارد کنید'></textarea> </div> <div className='mb-21'> <div className='xs-d-none l-d-block'> <MainBtn text="ارسال پیام"/> </div> <div className='xs-d-block l-d-none'> <MainBtnOpen text="ارسال پیام"/> </div> </div> <div className='w-100'> <div className='comments-container d-flex flex-column'> <div className='d-flex flex-column-reverse flex-lg-row align-items-center comment-one'> <div className='w-100 flex-fill person-comment-text-container'> <p className='c-white-70 rtl person-comment-text'>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است و برای شرایط فعلی تکنولوژی مورد نیاز و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد کتابهای زیادی در شصت و سه درصد گذشته حال و آینده شناخت فراوان جامعه و متخصصان را می طلبد</p> </div> <div className='d-flex flex-row-reverse justify-content-start align-items-center self-comment xs-mt-20 xs-mb-20'> <div className='comment-profile-container h-100 d-flex flex-row justify-content-center align-items-center'> <img src={"/Images/person.png"} alt="" // width={400} // height={400} className="comment-profile" /> </div> <div className='d-flex flex-column comment-person-data'> <div> <p className='c-white bold comment-person-data-name rtl'>حمیدرضا ساداتی</p> </div> <div> <p className='c-white-70 comment-person-data-time rtl'>در تاریخ 11 مرداد 1403</p> </div> <div> <p className='c-white comment-person-data-like rtl'> <img src={"/Images/heart.png"} alt="" // width={400} // height={400} className="pointer" onClick={likedOne} /> <span>{likeOne}</span> </p> </div> </div> </div> </div> <div className='d-flex flex-column-reverse flex-lg-row align-items-center self-comment'> <div className='w-100 person-comment-text-container'> <p className='c-white-70 rtl person-comment-text'>لورم ایپسوم متن ساختگی با تولید سادگی نامفهوم از صنعت چاپ و با استفاده از طراحان گرافیک است چاپگرها و متون بلکه روزنامه و مجله در ستون و سطرآنچنان که لازم است و برای شرایط فعلی تکنولوژی مورد نیاز و کاربردهای متنوع با هدف بهبود ابزارهای کاربردی می باشد کتابهای زیادی در شصت و سه درصد گذشته حال و آینده شناخت فراوان جامعه و متخصصان را می طلبد</p> </div> <div className='d-flex flex-row-reverse justify-content-start align-items-center xs-mt-20 xs-mb-20'> <div className='comment-profile-container h-100 d-flex flex-row justify-content-center align-items-center'> <img src={"/Images/person.png"} alt="" // width={400} // height={400} className="comment-profile" /> </div> <div className='d-flex flex-column comment-person-data'> <div> <p className='c-white bold comment-person-data-name rtl'>هاشم آزادی</p> </div> <div> <p className='c-white-70 comment-person-data-time rtl'>در تاریخ 11 مرداد 1399</p> </div> <div> <p className='c-white comment-person-data-like rtl'> <img src={"/Images/heart.png"} alt="" // width={400} // height={400} className="pointer" onClick={likedTwo} /> <span>{likeTwo}</span> </p> </div> </div> </div> </div> </div> </div> </div> </> ); } export default CommentsForm;