Page 1 of 1

i need search bar and results page code

Posted: Sat Apr 13, 2024 3:16 pm
by md arshad ullah
hi friends ...... help me for,,,,,,,,,create a search bar and results

Re: i need search bar and results page code

Posted: Sat Apr 13, 2024 4:34 pm
by vikkas
Search bar:

Code: Select all

<form method="get" action="/find_friends.html"><input name="q" type="text" style="padding: 4px"/> <input value="Search" type="submit" style="background: #20B2AA;padding: 4px"/></form>
result: user lister

Code: Select all

<div class="bord"><div class="list1"><table width="100%"><tbody><tr><td width="20%" align="left" valign="top" margin="auto"><br/><img src="{{VALUE(%avatar%)@IFEQ()@THEN(https://cdn3.iconfinder.com/data/icons/leto-user-group/64/__user_person_profile-128.png)@ELSE(%avatar%)}}" width="70" height="80"/></td><td align="left"><a href="/profile/%id%/?act=info" class="{{SLUG(%role%)}}"><b>%username%</b></a><br/><b>Age %var(age)%</b><br/><b>Point (%point%)</b></td><td align="right"><div class="li"><li></li></div><span class="sm"><a href="/profile/%id%/?act=info">See More</a></span><div class="li"><li></li></div><span class="msgbtn" style="border-radius:5px;"><a href="/inbox/%id%/?uname=%username%"><font color="#ffffff">Message</font></a></span></td></tr></tbody></table><br/></div></div>
config:

Code: Select all

<limit>10</limit><page>{{GET(page)}}</page><type>active</type><url>?page=</url><search>{{REQUEST(q)}}</search><order>new</order>

Re: i need search bar and results page code

Posted: Sat Apr 13, 2024 5:28 pm
by md arshad ullah
thank bro