i need search bar and results page code
Posted: Sat Apr 13, 2024 3:16 pm
hi friends ...... help me for,,,,,,,,,create a search bar and results
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>
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>
Code: Select all
<limit>10</limit><page>{{GET(page)}}</page><type>active</type><url>?page=</url><search>{{REQUEST(q)}}</search><order>new</order>