?
    ~
Advanced Hosters -

greg green
: 28.03.2006
: 111
# : 13, 2010 6:49 am
,
Moi post 02.03.2010 - very good
/%postname%/


http://mydomains.com/moi-post-02-03-2010-very-good

?


http://mydomains.com/moi-post-02032010-very-good

options-permalink.php ?
((

!

Yabuti
V.I.P.
: 28.11.2008
: 11263
Contest (: 2)
# : 13, 2010 6:52 am
? - - .. - .
Smile
, -02-03-2010- - 02.03.2010
02032010 - , , "",
PQCService.net 7 , icq: 87244588
EvaPharmacy. , ! Jabber: [email protected] ICQ: 750000

greg green
: 28.03.2006
: 111
# : 13, 2010 3:44 pm
- )
- )) , ..

Yabuti
V.I.P.
: 28.11.2008
: 11263
Contest (: 2)
# : 13, 2010 3:49 pm
rus-to-lat ( php- ):
:
<?php
$iso = array(
   ""=>"YE",""=>"I",""=>"G",""=>"i",""=>"#","&­quot;=>"ye",""=>"g",
   ""=>"A",""=>"B",""=>"V",""=>"G",""=>"D",
   ""=>"E",""=>"YO",""=>"ZH",
   ""=>"Z",""=>"I",""=>"J",""=>"K",""=>"L",
   ""=>"M",""=>"N",""=>"O",""=>"P",""=>"R",
   ""=>"S",""=>"T",""=>"U",""=>"F",""=>"X",
   ""=>"C",""=>"CH",""=>"SH",""=>"SHH",""=>"'",
   ""=>"Y",""=>"",""=>"E",""=>"YU",""=>"YA",
   ""=>"a",""=>"b",""=>"v",""=>"g",""=>"d",
   ""=>"e",""=>"yo",""=>"zh",
   ""=>"z",""=>"i",""=>"j",""=>"k",""=>"l",
   ""=>"m",""=>"n",""=>"o",""=>"p",""=>"r",
   ""=>"s",""=>"t",""=>"u",""=>"f",""=>"x",
   ""=>"c",""=>"ch",""=>"sh",""=>"shh",""=>"",
   ""=>"y",""=>"",""=>"e",""=>"yu",""=>"ya",".&­quot;=>".",""=>"",""=>"",""=>"-"
  );
 
function sanitize_title_with_translit($title) {
   global $gost, $iso;
   $rtl_standard = get_option('rtl_standard');
   switch ($rtl_standard) {
      case 'off':
          return $title;      
      case 'gost':
          return strtr($title, $gost);
      default:
          return strtr($title, $iso);
   }
}

function rtl_options_page() {
?>
<div class="wrap">
   <h2> RusToLat</h2>
   <p> , .</p>
   <?php
   if($_POST['rtl_standard']) {
      // set the post formatting options
      update_option('rtl_standard', $_POST['rtl_standard']);
      echo '<div class="updated"><p> .</p></div>';
   }
   ?>

   <form method="post">
   <fieldset class="options">
      <legend> :</legend>
      <?php
      $rtl_standard = get_option('rtl_standard');
      ?>
         <select name="rtl_standard">
            <option value="off"<?php if($rtl_standard == 'off'){ echo(' selected="selected"');}?>></option>
            <option value="gost"<?php if($rtl_standard == 'gost'){ echo(' selected="selected"');}?>> 16876-71</option>
        <option value="iso"<?php if($rtl_standard == 'iso' OR $rtl_standard == ''){ echo(' selected="selected"');}?>>ISO 9-95</option>                                
         </select>

         <input type="submit" value=" " />

   </fieldset>
   </form>
</div>
<?php
}

function rtl_add_menu() {
      add_options_page('RusToLat', 'RusToLat', 8, __FILE__, 'rtl_options_page');
}

add_action('admin_menu', 'rtl_add_menu');
add_action('sanitize_title', 'sanitize_title_with_translit', 0);
?>

PQCService.net 7 , icq: 87244588
EvaPharmacy. , ! Jabber: [email protected] ICQ: 750000

greg green
: 28.03.2006
: 111
# : 13, 2010 3:54 pm
, )

greg green
: 28.03.2006
: 111
# : 13, 2010 4:17 pm
)) )))

Yabuti
V.I.P.
: 28.11.2008
: 11263
Contest (: 2)
# : 13, 2010 4:21 pm
, Drinks or Beer
!
PQCService.net 7 , icq: 87244588
EvaPharmacy. , ! Jabber: [email protected] ICQ: 750000
    ~