Документы для веб-разработчиков

<? $arUrlRewrite = array( array( "CONDITION" => "#^/(?!tempius)(?!ukr)(?!clinic)(?!articles)(?!blog)(?!diseases)(?!doctor)(?!consultation)(?!spb)(?!nn)(?!msk)(?!msk)([a-z_-]+)/([a-z_-]+)/([?][\\S]+)*\$#", "RULE" => "STATI_SECTION_CODE=\$1&STAT_CODE=\$2", "ID" => "", "PATH" => "/services/detail.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/(?!service)(?!price)(ulica-1905-goda|[a-z_-]+)/((?!page([0-9]+))(?!service)(?!price)([a-z0-9_-]+))/page([0-9]+)/([?][\\S]+)*\$#", "RULE" => "AREA_CODE_OR_METRO=\$2&DISTRICT=\$5&PAGEN_1=\$6&TYPE_URL=1", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/(?!service)(?!price)([a-z_-]+)/((?!page([0-9]+))([a-z0-9_-]+))/([?][\\S]+)*\$#", "RULE" => "AREA_CODE_OR_METRO=\$2&DISTRICT=\$5&TYPE_URL=2", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/doctor/([a-z_-]+)/((?!page([0-9]+))([a-z0-9_-]+))/([?][\\S]+)*\$#", "RULE" => "AREA_CODE_OR_METRO=\$2&DISTRICT=\$5", "ID" => "", "PATH" => "/doctor/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/doctor/(ulica-1905-goda|[a-z_-]+)/([a-z0-9_-]+)/page([0-9]+)/([?][\\S]+)*\$#", "RULE" => "AREA_CODE_OR_METRO=\$2&DISTRICT=\$3&PAGEN_1=\$4", "ID" => "", "PATH" => "/doctor/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/(?!service)(?!price)(ulica-1905-goda|[a-z_-]+)/page([0-9]+)/([?][\\S]+)*\$#", "RULE" => "AREA_CODE_OR_METRO=\$2&PAGEN_1=\$3", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/doctor/(ulica-1905-goda|[a-z_-]+)/page([0-9]+)/([?][\\S]+)*\$#", "RULE" => "AREA_CODE_OR_METRO=\$2&PAGEN_1=\$3", "ID" => "", "PATH" => "/doctor/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/doctor/(ulica-1905-goda|[a-z_-]+)/([?][\\S]+)*\$#", "RULE" => "AREA_CODE_OR_METRO=\$2", "ID" => "", "PATH" => "/doctor/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/(?!service)(?!price)(ulica-1905-goda|[a-z_-]+)/([?][\\S]+)*\$#", "RULE" => "AREA_CODE_OR_METRO=\$2", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/crop/([0-9]+)x([0-9]+)x([0-9]+)x([0-9]+)x([0-9]+)x([a-zA-Z0-9]+)/(.*)#", "RULE" => "w=\$1&wr=\$2&h=\$3&hr=\$4&q=\$5&type=\$6&file=\$7", "ID" => "", "PATH" => "/dmt/resizephoto/cropengine.php", ), array( "CONDITION" => "#^/consultation/([a-zA-Z0-9-_]+)/([a-zA-Z0-9-_]+)/([?][a-zA-Z0-9-_=]+)*\$#", "RULE" => "SECTION_CONS_CODE=\$1&ELEMENT_CONS_CODE=\$2", "ID" => "", "PATH" => "/consultation/detail.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/doctor/page([0-9]+)/([?][\\S]+)*\$#", "RULE" => "PAGEN_1=\$2", "ID" => "", "PATH" => "/doctor/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/page([0-9]+)/([?][\\S]+)*\$#", "RULE" => "PAGEN_1=\$2", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(?!ukr)(?!spb)(?!nn)([a-z_-]+)/([?][\\S]+)*\$#", "RULE" => "STATI_SECTION_CODE=\$1", "ID" => "", "PATH" => "/services/detail.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/doctor/([0-9]+)/([?][\\S]+)*\$#", "RULE" => "DOCTOR_ID=\$2", "ID" => "", "PATH" => "/doctor/detail.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/index.php([?][\\S]+)*\$#", "RULE" => "", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/doctor/index.php([?][\\S]+)*\$#", "RULE" => "", "ID" => "", "PATH" => "/doctor/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/([0-9]+)/([?][\\S]+)*\$#", "RULE" => "CLINIC_ID=\$2", "ID" => "", "PATH" => "/clinic/detail.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/([?][\\S]+)*\$#", "RULE" => "", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/service/([a-z_-]+)/((([a-z_-]+)|([a-z_-]+)/([a-z_-]+)|())/((page([0-9]+))/|())|())([?][\\S]+)*\$#", "RULE" => "SERVICES_CODE=\$2&AREA_CODE_OR_METRO=\$4&AREA_CODE_OR_METRO_=\$6&DISTRICT=\$7&PAGEN_1=\$11", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/service/([a-z_-]+)/page([0-9]+)/([?][\\S]+)*\$#", "RULE" => "SERVICES_CODE=\$2&PAGEN_1=\$3", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/price/([a-z_-]+)/([?][\\S]+)*\$#", "RULE" => "PRICE_CODE=\$2", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/clinic/price/([a-z_-]+)/page([0-9]+)/([?][\\S]+)*\$#", "RULE" => "PRICE_CODE=\$2&PAGEN_1=\$3", "ID" => "", "PATH" => "/clinic/index.php", ), array( "CONDITION" => "#^/(msk|spb|nn)/doctor/([?][\\S]+)*\$#", "RULE" => "", "ID" => "", "PATH" => "/doctor/index.php", ), array( "CONDITION" => "#^/consultation/([a-z_-]+)/([?][\\S]+)*\$#", "RULE" => "SECTION_CONS_CODE=\$1", "ID" => "", "PATH" => "/consultation/detail.php", ), array( "CONDITION" => "#^/(spb|nn)/([?][\\S]+)*\$#", "RULE" => "", "ID" => "", "PATH" => "/index.php", ), array( "CONDITION" => "#^/diseases/([a-z_-]+)/([?][\\S]+)*\$#", "RULE" => "CODE=\$1", "ID" => "", "PATH" => "/diseases/detail.php", ), array( "CONDITION" => "#^/blog/([a-z_-]+)/([?][\\S]+)*\$#", "RULE" => "STATI_SECTION_CODE=\$1", "ID" => "", "PATH" => "/blog/detail.php", ), array( "CONDITION" => "#^/stats/([0-9]+)/page([0-9]+)/#", "RULE" => "PAGEN_1=\$2", "ID" => "", "PATH" => "/stats/index.php", ), array( "CONDITION" => "#^/stats/page([0-9]+)/#", "RULE" => "PAGEN_1=\$1", "ID" => "", "PATH" => "/stats/index.php", ), array( "CONDITION" => "#^/stats/([0-9]+)/#", "RULE" => "CLINIC_ID=\$1", "ID" => "", "PATH" => "/stats/index.php", ), array( "CONDITION" => "#^/print/([\\S]+)/#", "RULE" => "CLINIC_ID=\$1", "ID" => "", "PATH" => "/print/index.php", ), ); ?>