<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:udt="DotNetNuke/UserDefinedTable" exclude-result-prefixes="udt">
  <xsl:output method="xml" indent="yes" omit-xml-declaration="yes" />
  <!--
  This prefix is used to generate module specific query strings
  Each querystring or form value that starts with udt_{ModuleId}_param 
  will be added as parameter starting with param
  -->
  <xsl:variable name="prefix_param">udt_<xsl:value-of select="//udt:Context/udt:ModuleId" />_param</xsl:variable>

  <xsl:template match="udt:Data" mode="list">
    <div class="col-md-3 col-sm-6 col-xs-12 mb-20">
      <div class="boxNumber">
        <xsl:call-template name="EditLink" />
        <span class="fa fa-telephone2">
        </span>
        <h4>
                    شماره <span class="number"><xsl:value-of select="udt:تلفن" disable-output-escaping="yes" /></span></h4>
        <h2>
          <xsl:value-of select="udt:عنوان_x0020_واحد" disable-output-escaping="yes" />
        </h2>
      </div>
    </div>
  </xsl:template>

  <xsl:template match="/udt:UserDefinedTable">
    <xsl:variable name="currentData" select="udt:Data" />
    <xsl:if test="$currentData">
      <div class="dg-title22 mt-20">
        <h2 class="bold title">
          <span class="color-accent4">مرکز ارتباط مردمی </span>سازمان <span class="line"></span></h2>
      </div>
      <p class="text-center">هموطنان عزیز می توانند در سراسر کشور با شماره <span class="bold font-16">1526</span>
                ، مرکز ارتباط مردمی سازمان امور مالیاتی کشور، شکایات، پیشنهادات و سوالات مالیاتی خود را مطرح نمایند.</p>
      <div class="row">
        <xsl:apply-templates select="$currentData" mode="list">
        </xsl:apply-templates>
      </div>
      <div class="graBg2 mb-20 mt-30 text-center">
        <img alt="وکتور نقشه ایران" class="display" src="/portals/0/Images/iranVector.png" title="وکتور نقشه ایران" />
        <p class="bold color-white display">برای آگاهی از آدرس و شماره های تماس ادارات کل امور مالیاتی در سراسر
                    کشور بر روی لینک رو به رو کلیک کنید: <a class="dg-btn-2 radius-3px btn-accent ml-50 mt-20 ml-50" href="/contact-numbers-of-tax-administrations" title="مشاهده اطلاعات تماس">مشاهده اطلاعات تماس
                        اداره مالیاتی کشور</a></p>
      </div>
    </xsl:if>
  </xsl:template>

  <xsl:template name="EditLink">
    <xsl:if test="udt:EditLink">
      <a href="{udt:EditLink}">
        <img alt="edit" src="{//udt:Context/udt:ApplicationPath}/images/edit.gif" />
      </a>
    </xsl:if>
  </xsl:template>
<udt:template listType="table" delimiter=";" listView="    &lt;div class=&quot;col-md-3 col-sm-6 col-xs-12 mb-20&quot;&gt;&#xD;&#xA;        &lt;div class=&quot;boxNumber&quot;&gt;&lt;span class=&quot;fa fa-telephone2&quot;&gt; &lt;/span&gt;&#xD;&#xA;            &lt;h4&gt;&lt;span&gt;[UDT:EditLink]&lt;/span&gt;شماره &lt;span class=&quot;number&quot;&gt;[تلفن]&lt;/span&gt;&lt;/h4&gt;&#xD;&#xA;            &lt;h2&gt;[عنوان واحد]&lt;/h2&gt;&#xD;&#xA;        &lt;/div&gt;&#xD;&#xA;    &lt;/div&gt;" headerView="" detailView="[UDT:ListView][UDT:EditLink]&#xD;&#xA;&lt;table&gt;&#xD;&#xA;  &lt;tr&gt;&#xD;&#xA;    &lt;td class=&quot;normalBold&quot;&gt;تلفن&lt;/td&gt;&#xD;&#xA;    &lt;td class=&quot;Normal&quot;&gt;[تلفن]&lt;/td&gt;&#xD;&#xA;  &lt;/tr&gt;&#xD;&#xA;  &lt;tr&gt;&#xD;&#xA;    &lt;td class=&quot;normalBold&quot;&gt;عنوان واحد&lt;/td&gt;&#xD;&#xA;    &lt;td class=&quot;Normal&quot;&gt;[عنوان واحد]&lt;/td&gt;&#xD;&#xA;  &lt;/tr&gt;&#xD;&#xA;  &lt;tr&gt;&#xD;&#xA;    &lt;td class=&quot;normalBold&quot;&gt;ویرایش شده در&lt;/td&gt;&#xD;&#xA;    &lt;td class=&quot;Normal&quot;&gt;[ویرایش شده در_UDT_Value]&lt;/td&gt;&#xD;&#xA;  &lt;/tr&gt;&#xD;&#xA;  &lt;tr&gt;&#xD;&#xA;    &lt;td class=&quot;normalBold&quot;&gt;ویرایش شده بوسیله&lt;/td&gt;&#xD;&#xA;    &lt;td class=&quot;Normal&quot;&gt;[ویرایش شده بوسیله]&lt;/td&gt;&#xD;&#xA;  &lt;/tr&gt;&#xD;&#xA;  &lt;tr&gt;&#xD;&#xA;    &lt;td class=&quot;normalBold&quot;&gt;ایجاد شده در&lt;/td&gt;&#xD;&#xA;    &lt;td class=&quot;Normal&quot;&gt;[ایجاد شده در_UDT_Value]&lt;/td&gt;&#xD;&#xA;  &lt;/tr&gt;&#xD;&#xA;  &lt;tr&gt;&#xD;&#xA;    &lt;td class=&quot;normalBold&quot;&gt;ایجاد شده بوسیله&lt;/td&gt;&#xD;&#xA;    &lt;td class=&quot;Normal&quot;&gt;[ایجاد شده بوسیله]&lt;/td&gt;&#xD;&#xA;  &lt;/tr&gt;&#xD;&#xA;&lt;/table&gt;" trackingEmail="" />
</xsl:stylesheet>