А направление ветра реально добавить?

  • Вячеслав
  • Вячеслав's Avatar Topic Author
  • Visitor
7 years 8 months ago - 7 years 8 months ago #2003 by Вячеслав
А направление ветра реально добавить?
Last edit: 7 years 8 months ago by Вячеслав.

Please Log in or Create an account to join the conversation.

  • JoomLine
  • JoomLine 's Avatar
  • Visitor
7 years 8 months ago - 7 years 8 months ago #2004 by JoomLine
По идее реально особенно если перейти на другой агрегатор погоды.
По сути пока нет желающих про спонсировать разработку новой версии... Если мы будем заниматься разработкой принципиально новой версией погоды, мы выпустим компонент по принципу условно-бесплатной модели.
Last edit: 7 years 8 months ago by JoomLine .

Please Log in or Create an account to join the conversation.

More
7 years 7 months ago - 7 years 7 months ago #2005 by Алексей
можно таким образом добавить напрвление ветра

<?php if ($forecast[2] >='0' && $forecast[2] < '35') : ?>
<img src="../images/weather/n.png" title="Ветер: северный">
<?php else :?>
<?php endif; ?>
<?php if ($forecast[2] >='35' && $forecast[2] < '70') : ?>
<img src="../images/weather/ne.png" title="Ветер: северо-восточный">
<?php else :?>
<?php endif; ?>
<?php if ($forecast[2] >='70' && $forecast[2] < '125') : ?>
<img src="../images/weather/e.png" title="Ветер: восточный">
<?php else :?>
<?php endif; ?>
<?php if ($forecast[2] >='125' && $forecast[2] < '160') : ?>
<img src="../images/weather/se.png" title="Ветер: юго-восточный">
<?php else :?>
<?php endif; ?>
<?php if ($forecast[2] >='160' && $forecast[2] < '215') : ?>
<img src="../images/weather/s.png" title="Ветер: южный">
<?php else :?>
<?php endif; ?>
<?php if ($forecast[2] >='215' && $forecast[2] < '250') : ?>
<img src="../images/weather/sw.png" title="Ветер: юго-западный">
<?php else :?>
<?php endif; ?>
<?php if ($forecast[2] >='250' && $forecast[2] < '305') : ?>
<img src="../images/weather/w.png" title="Ветер: западный">
<?php else :?>
<?php endif; ?>
<?php if ($forecast[2] >='305' && $forecast[2] < '340') : ?>
<img src="../images/weather/nw.png" title="Ветер: северо-западный">
<?php else :?>
<?php endif; ?>
Last edit: 7 years 7 months ago by Алексей.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • Facebook.Not getting real mail
    • The problem is that part of the code was removed from the Facebook plugin Because of what your site does not ask for an email address from Facebook I solved the problem by adding some of the code to \plugins\slogin_auth\facebook\facebook.php onSloginAuth() { = JURI::base().; = ; = ( . ->->get(), . urlencode(), . , ); = implode(, ); = . ; ; }
    • In Component / Slogin
    • Viagra online
    • <a href=http://fisioterapiapatriciapena.com/las-bolas-chinas-lo-que-debes-saber/>magnesoterapia bajar escaleras con muletas <a href=https://fisioterapiapatriciapena.com/las-consecuencias-de-una-prostatectomia-puedo-recuperarme/>condilo humeral ensuelofirme <a href=http://fisioterapiapatriciapena.com/politica-de-cookies>fisioterapia espalda episiotomia cicatriz <a href=http://fisioterapiapatriciapena.com/entrenador-personal-en-granada/>clinica sanabria abdominales hipopresivos pilar rubio <a href=http://fisioterapiapatriciapena.com/category/entrenador-personal/>prostatectomia ejercicios para recuperar movilidad codo <a href=http://fisioterapiapatriciapena.com/blog/page/9>estiramientos para la lumbalgia donde comprar contrareembolso <a href=http://fisioterapiapatriciapena.com/por-que-es-tan-importante-una-valoracion-de-suelo-pelvico/>comprar viagra generico kamagra 100mg oral jelly <a href=https://fisioterapiapatriciapena.com/viagra-24-horas-madrid>la mega fm comprar viagra online contrareembolso <a href=https://fisioterapiapatriciapena.com/2021/02>vas medicina cicatriz episiotomia <a href=http://fisioterapiapatriciapena.com/tag/osteopata-granada/>fisioterapia granada precios tutorial hipopresivos
    • In Общий форум / Общие вопросы по Joomla
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.