Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]Nowa linia, Problem pomocy
michal13031986
post
Post #1





Grupa: Zarejestrowani
Postów: 27
Pomógł: 0
Dołączył: 22.11.2008

Ostrzeżenie: (0%)
-----


Witam. Jak zrobić żeby po wyszukaniu lini Tlen, pierwsze dodał nową linie czyli odstęp, a dopiero po dodaniu odstępu dodał ten kawałek z fotką:

Kod
<code style="overflow: scroll;"> <!-- Tutaj doda nowe wpis Fotka -->
               <operation>
                      <!--Wyszukuje pliki z tlenu -->
                       <search position="before"><![CDATA[ 'Tlen'  => $profile['Tlen'] != '' &&  (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest'])  ? array(
                      'name' => &$profile['Tlen'],
                      'href' => 'http://ludzie.tlen.pl/' . $profile['Tlen'],
                       'link' => '<a href="http://ludzie.tlen.pl/' .  $profile['Tlen'] . '"><img src="http://status.tlen.pl/?u=' .  $profile['Tlen'] . '&t=1" alt="' . $profile['Tlen'] . '" border="0"  height="18" width="18" /></a>',
                       'link_text' => '<a href="http://ludzie.tlen.pl/' .  $profile['Tlen'] . '">' . $profile['Tlen'] . '</a>'
               ) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),]]></search>
                      <!-- Dodaje nową linię FOTKA-->
                             <add><![CDATA['fotka' =>  $profile['FOTKA'] !='' &&  (empty($modSettings['guest_hideContacts']) || !$user_info['is_guest'])  ? array(
                      'name' => &$profile['FOTKA'],
                      'href' => 'http://www.' . $profile['FOTKA'],
                       'link' => '<a href="http://www./' .  $profile['FOTKA'] . '" target="_blank"><img src="' .  $settings['images_url'] . '/aparat.gif" alt="' . $profile['FOTKA'] . '"  border="0" /></a>',
                      'link_text' =>  '<a href="http://www.' . $profile['FOTKA'] . '" target="_blank">'  . $profile['FOTKA'] . '</a>'
               ) : array('name' => '', 'href' => '', 'link' => '', 'link_text' => ''),]]></add>
               </operation></code>
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.12.2025 - 16:58