Advertisement
Guest User

Untitled

a guest
Jul 18th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.61 KB | None | 0 0
  1. {block content}
  2. <link rel="stylesheet" href="{$basePath}/css/embed.css" />
  3.  
  4. <div class="container">
  5. <h2><a href="{plink Service:detail, $heading->service_id, $heading->service_name}">{$heading->service_name}</a> pro <a href="{plink Project:detail, $heading->project_id, $heading->project_website}">{$heading->project_website}</a> od <a href="{plink Businesspublic:detail, $heading->business_id, $heading->business_name}">{$heading->business_name}</a></h2>
  6. </div>
  7. <div class="container">
  8. <div class="row">
  9. <div class="col-4">
  10. <div class="bg-secondary text-white">
  11. <p>Zadavatel: <a href="{plink Project:detail,$heading->project_id,$heading->project_website}">{$heading->project_website}</a></p>
  12. <p>Realizované služby: <a href="{plink Service:detail,$heading->service_id,$heading->service_name}">{$heading->service_name}</a></p>
  13. <p>Zahájení: {$heading->business_has_project_since|date:'%d.%m.%Y'}</p>
  14. {ifset $heading->business_has_project_until}
  15. <p>Dokončení: {$heading->business_has_project_until|date:'%d.%m.%Y'}</p>
  16. {else}
  17. <p>Dokončení: přetrvává</p>
  18. {/ifset}
  19. </div>
  20. </div>
  21. <div class="col-4">
  22. <p>{$heading->business_has_project_description}</p>
  23. </div>
  24. <div class="col-4">
  25. {ifset $heading->uploaded_file_path}
  26. <img src="{$heading->uploaded_file_path}" class="img-fluid" width="250" alt="obrazek_urceny_pro_reference">
  27. {/ifset $heading->uploaded_file_path}
  28. </div>
  29. </div>
  30. </div>
  31.  
  32. <div class="container">
  33. <div class="row">
  34. <div class="col-lg-4">
  35. <div class="bg-secondary text-white">
  36. <h4>Další služby od {$heading->business_name}</h4>
  37. {if isset($others)}
  38. {foreach $others as $other}
  39. {ifset $other->business_has_project_until}
  40. <a href="{plink Businesspublic:reference, $other->service_id, $other->project_id, $other->business_id, $other->business_has_project_since->format('Y-m-d H:i:s'), $other->business_has_project_until->format('Y-m-d H:i:s')}"><p>{$other->business_has_project_since|date:'%d.%m.%Y'} {$other->service_name}</p></a>
  41. {else}
  42. <a href="{plink Businesspublic:reference, $other->service_id, $other->project_id, $other->business_id, $other->business_has_project_since->format('Y-m-d H:i:s'), "NULL"}"><p>{$other->business_has_project_since|date:'%d.%m.%Y'} {$other->service_name}</p></a>
  43. {/ifset}
  44. {/foreach}
  45. {else}
  46. <p>Nebyly použity žádné další služby.</p>
  47. {/if}
  48. </div>
  49. </div>
  50. <!--
  51. <div class="col-lg-4">
  52. <div class="bg-secondary text-white">
  53. <h4>Služby od jiných firem</h4>
  54. {if isset($helps)}
  55. {foreach $helps as $help}
  56. {ifset $help->business_has_project_until}
  57. <a href="{plink Businesspublic:reference, $help->service_id, $help->project_id, $help->business_id, $help->business_has_project_since->format('Y-m-d H:i:s'), $help->business_has_project_until->format('Y-m-d H:i:s')}"><p>{$help->business_name} {$help->business_has_project_since|date:'%d.%m.%Y'} {$help->service_name}</p></a>
  58. {else}
  59. <a href="{plink Businesspublic:reference, $help->service_id, $help->project_id, $help->business_id, $help->business_has_project_since->format('Y-m-d H:i:s'), "NULL"}"><p>{$help->business_name} {$help->business_has_project_since|date:'%d.%m.%Y'} {$help->service_name}</p></a>
  60. {/ifset}
  61. {/foreach}
  62. {else}
  63. <p>Nebyly poskytnuty žádné služby od ostatních firem.</p>
  64. {/if}
  65. </div>
  66. </div>-->
  67.  
  68. <div class="col-lg-8">
  69. {ifset $heading->business_has_project_data}
  70. <div class="youtube" data-embed="{$heading->business_has_project_data}">
  71. <div class="play-button"></div>
  72. </div>
  73. {/ifset}
  74. </div>
  75. </div>
  76. </div>
  77.  
  78. <div class="container">
  79. <h4>Články o {$heading->service_name}</h4>
  80. {ifset $articles}
  81. {foreach $articles as $article}
  82. <a href="{plink Article:detail, $article->article_id, $article->article_title}">
  83. <h5>{$article->article_title}</h5>
  84. <p>{$article->article_content|striptags|noescape|truncate:280}</p>
  85. <p>{$article->service_name}</p>
  86. <p>{$article->service_description}</p>
  87. <img src="{$article->uploaded_file_path}" class="img-fluid" width="100" alt="nahledovy_obrazek_clanku">
  88. </a>
  89. {/foreach}
  90. {else}
  91. <p>Doposud nebyly přidány žádné články o této službě.</p>
  92. {/ifset}
  93. </div>
  94. <script src="{$basePath}/js/embed.js"></script>
  95. {/block}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement