UYARI PUANI
Profile.template.php 'yi aç..
Kodu Bul..
- Kod:
echo '
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';
// Show the users signature.
- Kod:
// uyari puani by rallyproco :)
if ($context['user']['is_owner'] || $context['user']['is_admin'])
{
echo '
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>
<tr><td><b>Uyarı Puanı: </b></td>
<td><img src="' . $settings['images_url'] . '/uyari', $context['member']['options']['uyari']['value'], '.gif" alt="', $context['member']['options']['uyari'], '" /> %', $context['member']['options']['uyari']['value'], '0</td>
</tr>
<tr><td><font color=#FF0000><b>Uyarı Nedenleri: </b></td>
', !empty($context['member']['options']['neden1']) ? '</tr><tr> <td><b><font color=#FF0000> 1:</b></td> <td>' . parse_bbc($context['member']['options']['neden1']) . '</td>' : '', '
', !empty($context['member']['options']['neden2']) ? '</tr><tr> <td><b><font color=#FF0000> 2:</b></td> <td>' . parse_bbc($context['member']['options']['neden2']) . '</td>' : '', '
', !empty($context['member']['options']['neden3']) ? '</tr><tr> <td><b><font color=#FF0000> 3:</b></td> <td>' . parse_bbc($context['member']['options']['neden3']) . '</td>' : '', '
', !empty($context['member']['options']['neden4']) ? '</tr><tr> <td><b><font color=#FF0000> 4:</b></td> <td>' . parse_bbc($context['member']['options']['neden4']) . '</td>' : '', '
', !empty($context['member']['options']['neden5']) ? '</tr><tr> <td><b><font color=#FF0000> 5:</b></td> <td>' . parse_bbc($context['member']['options']['neden5']) . '</td>' : '', '
', !empty($context['member']['options']['neden6']) ? '</tr><tr> <td><b><font color=#FF0000> 6:</b></td> <td>' . parse_bbc($context['member']['options']['neden6']) . '</td>' : '', '
', !empty($context['member']['options']['neden7']) ? '</tr><tr> <td><b><font color=#FF0000> 7:</b></td> <td>' . parse_bbc($context['member']['options']['neden7']) . '</td>' : '', '
', !empty($context['member']['options']['neden8']) ? '</tr><tr> <td><b><font color=#FF0000> 8:</b></td> <td>' . parse_bbc($context['member']['options']['neden8']) . '</td>' : '', '
', !empty($context['member']['options']['neden9']) ? '</tr><tr> <td><b><font color=#FF0000> 9:</b></td> <td>' . parse_bbc($context['member']['options']['neden9']) . '</td>' : '', '
', !empty($context['member']['options']['neden10']) ? '</tr><tr> <td><b><font color=#FF0000> 10:</b></td> <td>' . parse_bbc($context['member']['options']['neden10']) . '</td>' : '', '
</tr>
'; }
echo '
<tr><td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';
// Show the users signature.
Kodu bul..
- Kod:
// If karma is enabled let the admin edit it...
if ($context['user']['is_admin'] && !empty($modSettings['karmaMode']))
{
echo '
<tr>
<td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td>
</tr><tr>
<td valign="top"><b>', $modSettings['karmaLabel'], '</b></td>
<td>
', $modSettings['karmaApplaudLabel'], ' <input type="text" name="karmaGood" size="4" value="', $context['member']['karma']['good'], '" onchange="setInnerHTML(document.getElementById(\'karmaTotal\'), this.value - this.form.karmaBad.value);" style="margin-right: 2ex;" /> ', $modSettings['karmaSmiteLabel'], ' <input type="text" name="karmaBad" size="4" value="', $context['member']['karma']['bad'], '" onchange="this.form.karmaGood.onchange();" /><br />
(', $txt[94], ': <span id="karmaTotal">', ($context['member']['karma']['good'] - $context['member']['karma']['bad']), '</span>)
</td>
</tr>';
}
Altına ekle..
- Kod:
// uyari puani degistirme by rallyproco :)
if ($context['allow_admin'])
{
echo'
<tr><td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td></tr>
<tr><td><b>Uyarı Puanı: </b></td>
<td><select name="options[uyari]">
<option></option>
<option ', (@$context['member']['options']['uyari'] == '1' ? ' selected="selected"' : ''), '>1</option>
<option ', (@$context['member']['options']['uyari'] == '2' ? ' selected="selected"' : ''), '>2</option>
<option ', (@$context['member']['options']['uyari'] == '3' ? ' selected="selected"' : ''), '>3</option>
<option ', (@$context['member']['options']['uyari'] == '4' ? ' selected="selected"' : ''), '>4</option>
<option ', (@$context['member']['options']['uyari'] == '5' ? ' selected="selected"' : ''), '>5</option>
<option ', (@$context['member']['options']['uyari'] == '6' ? ' selected="selected"' : ''), '>6</option>
<option ', (@$context['member']['options']['uyari'] == '7' ? ' selected="selected"' : ''), '>7</option>
<option ', (@$context['member']['options']['uyari'] == '8' ? ' selected="selected"' : ''), '>8</option>
<option ', (@$context['member']['options']['uyari'] == '9' ? ' selected="selected"' : ''), '>9</option>
<option ', (@$context['member']['options']['uyari'] == '10' ? ' selected="selected"' : ''), '>10</option>
</select> <img src="' . $settings['images_url'] . '/uyari', $context['member']['options']['uyari']['value'], '.gif" alt="', $context['member']['options']['uyari'], '" /> %', $context['member']['options']['uyari']['value'], '0</td>';
echo'
</tr>';
echo '
<tr>
<td><font color=#FF0000> 1: </b></td> <td><input type="text" name="default_options[neden1]" size="50" value="', @$context['member']['options']['neden1'], '" /></td>
</tr>
<tr>
<td><font color=#FF0000> 2: </b></td> <td><input type="text" name="default_options[neden2]" size="50" value="', @$context['member']['options']['neden2'], '" /></td>
</tr>
<tr>
<td><font color=#FF0000> 3: </b></td> <td><input type="text" name="default_options[neden3]" size="50" value="', @$context['member']['options']['neden3'], '" /></td>
</tr>
<tr>
<td><font color=#FF0000> 4: </b></td> <td><input type="text" name="default_options[neden4]" size="50" value="', @$context['member']['options']['neden4'], '" /></td>
</tr>
<tr>
<td><font color=#FF0000> 5: </b></td> <td><input type="text" name="default_options[neden5]" size="50" value="', @$context['member']['options']['neden5'], '" /></td>
</tr>
<tr>
<td><font color=#FF0000> 6: </b></td> <td><input type="text" name="default_options[neden6]" size="50" value="', @$context['member']['options']['neden6'], '" /></td>
</tr>
<tr>
<td><font color=#FF0000> 7: </b></td> <td><input type="text" name="default_options[neden7]" size="50" value="', @$context['member']['options']['neden7'], '" /></td>
</tr>
<tr>
<td><font color=#FF0000> 8: </b></td> <td><input type="text" name="default_options[neden8]" size="50" value="', @$context['member']['options']['neden8'], '" /></td>
</tr>
<tr>
<td><font color=#FF0000> 9: </b></td> <td><input type="text" name="default_options[neden9]" size="50" value="', @$context['member']['options']['neden9'], '" /></td>
</tr>
<tr>
<td><font color=#FF0000> 10: </b></td> <td><input type="text" name="default_options[neden10]" size="50" value="', @$context['member']['options']['neden10'], '" /></td>
</tr>
';
Display.template.php 'yi aç..
Kodu bul..
- Kod:
// Done with the information about the poster... on to the post itself.
Üstüne ekle..
- Kod:
//uyari puani by rallyproco
echo '
<br><br>Uyarı Puanı:<br><img src="' . $settings['images_url'] . '/uyari', $message['member']['options']['uyari']['value'], '.gif" alt="', $context['member']['options']['uyari'], '" /> %', $message['member']['options']['uyari']['value'], '0<br />';
if ($context['allow_admin'])
{
echo'
<br /><a href="', $message['member']['href'], ';sa=forumProfile"><img src="' . $settings['images_url'] . '/uyaributon.gif" alt="uyari puani ver" border="0" /><br /><br />';
}
Aşağıdaki dosyayı indirip rar arşivinden resimleri çıkartın. Daha sonra resimler kullandığınız temanın images klasörüne atın..
[Linkleri görebilmek için üye olun veya giriş yapın.]
Alternatif Link
[Linkleri görebilmek için üye olun veya giriş yapın.]
Şifre: [Linkleri görebilmek için üye olun veya giriş yapın.]