<?php
require'fun.php';
require'f_admin.php';
if($perm<2)
require'interzis.php';
$titlu='Editeaza site partener';
$back[1]='<a href="/parteneri-site">'.img('parteneri.gif',2).'Parteneri</a>';
require'f_sus.php';
echo$div[4].img('parteneri.gif',2).'Editeaza site partener'.$div[5];
$pinfo=$conn->query('SELECT`link`,`nume`,`logo`FROM`parteneri`WHERE`id`="'.$pid.'"')->fetch_row();
$form[0]='/admin-editeaza-partener/id/'.$pid.'-'.seo($pinfo[1]).'" method="post';
$form[1]=0;
$form[2]=$div[1].'Editeaza nume site:<br /><input name="title" value="'.$pinfo[1].'" />'.$div[0].$div[1].'Editeaza link-ul site-ului partener:<br /><input name="url" value="'.$pinfo[0].'" />'.$div[0];
$form[3]='title::url';
$form[4]='Editeaza';
require'f_form.php';
echo$div[1].($pinfo[2]!=''?'<a href="/'.$pinfo[2].'"><img src="/'.$pinfo[2].'" alt="" /></a><strong> - </strong><a href="/admin-editeaza-logo-partener/id/'.$pid.'-'.seo($pinfo[1]).'?tip=sterge"><img src="'.$domenii_statice[2].'sterge.png" alt="" width="16" height="16" />șterge logo de la partenerul '.htmlspecialchars($pinfo[1]).'</a>':'<a href="/admin-editeaza-logo-partener/id/'.$pid.'-'.seo($pinfo[1]).'"><img src="'.$domenii_statice[1].'adauga.gif" alt="" />Adaugă logo la partenerul '.htmlspecialchars($pinfo[1]).'</a>').$div[0];
require'f_jos.php';