156 lines
12 KiB
PHP
156 lines
12 KiB
PHP
<?php
|
|
/**
|
|
* Template Name: مقایسه آرک و شادمان
|
|
*
|
|
* @package Hesabix2
|
|
*/
|
|
|
|
get_header();
|
|
|
|
$wrap = 'max-w-6xl mx-auto px-4 sm:px-6 lg:px-8';
|
|
$arc_url = function_exists('hesabix2_fp_arc_url') ? hesabix2_fp_arc_url() : 'https://arc.hesabix.ir';
|
|
$shad_url = function_exists('hesabix2_fp_shad_url') ? hesabix2_fp_shad_url() : 'https://app.hesabix.ir';
|
|
$summary = function_exists('hesabix2_versions_summary_rows') ? hesabix2_versions_summary_rows() : array();
|
|
$features = function_exists('hesabix2_version_feature_matrix') ? hesabix2_version_feature_matrix() : array();
|
|
$notice = function_exists('hesabix2_fp_migration_notice') ? hesabix2_fp_migration_notice() : '';
|
|
$guarantee = function_exists('hesabix2_fp_data_guarantee') ? hesabix2_fp_data_guarantee() : '';
|
|
?>
|
|
|
|
<section class="vc-hero bg-gradient-to-l from-brand-600 to-brand-500 text-white py-14 sm:py-16 relative overflow-hidden">
|
|
<div class="<?php echo esc_attr($wrap); ?> relative z-10 text-center lg:text-right">
|
|
<p class="text-white/80 text-sm font-medium mb-3"><?php esc_html_e('راهنمای انتخاب نسخه', 'hesabix2'); ?></p>
|
|
<h1 class="text-2xl sm:text-3xl lg:text-4xl font-bold mb-4 leading-tight"><?php esc_html_e('مقایسهٔ آرک و شادمان', 'hesabix2'); ?></h1>
|
|
<p class="text-white/90 text-base sm:text-lg max-w-3xl lg:mr-0 mx-auto leading-relaxed mb-0">
|
|
<?php esc_html_e('شادمان نسخهٔ قدیمی است و فقط برای حسابداری طراحی شده است. آرک نسخهٔ فعلی حسابیکس است و امکانات کامل پلتفرم — از فروش و CRM تا اتوماسیون و هوش مصنوعی — را در اختیار شما میگذارد.', 'hesabix2'); ?>
|
|
</p>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="py-10 sm:py-12 bg-white border-b border-slate-100">
|
|
<div class="<?php echo esc_attr($wrap); ?>">
|
|
<?php if ($notice) : ?>
|
|
<div class="fp-version-notice mb-6" role="note">
|
|
<p class="fp-version-notice__text mb-0"><?php echo esc_html($notice); ?></p>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php if ($guarantee) : ?>
|
|
<p class="fp-version-guarantee text-sm text-slate-600 mb-0"><?php echo esc_html($guarantee); ?></p>
|
|
<?php endif; ?>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- خلاصه -->
|
|
<section class="py-12 sm:py-14 bg-slate-50 border-b border-slate-100">
|
|
<div class="<?php echo esc_attr($wrap); ?>">
|
|
<h2 class="text-xl sm:text-2xl font-bold text-slate-800 mb-6 text-center lg:text-right"><?php esc_html_e('خلاصهٔ تفاوتها', 'hesabix2'); ?></h2>
|
|
<div class="vc-table-wrap fp-versions-table overflow-x-auto rounded-2xl border border-light-200 shadow-sm bg-white">
|
|
<table class="vc-table w-full min-w-[32rem] text-sm text-right border-collapse">
|
|
<thead>
|
|
<tr class="bg-slate-50 border-b border-slate-200">
|
|
<th scope="col" class="p-4 font-semibold text-slate-600 w-[22%]"><?php esc_html_e('معیار', 'hesabix2'); ?></th>
|
|
<th scope="col" class="p-4 font-semibold text-brand-600 w-[39%]"><?php esc_html_e('آرک — نسخه فعلی', 'hesabix2'); ?></th>
|
|
<th scope="col" class="p-4 font-semibold text-slate-600 w-[39%]"><?php esc_html_e('شادمان — نسخه قدیمی', 'hesabix2'); ?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($summary as $row) : ?>
|
|
<tr class="border-b border-slate-100 last:border-0">
|
|
<th scope="row" class="p-4 font-medium text-slate-800 bg-light-50/50 align-top"><?php echo esc_html($row['label']); ?></th>
|
|
<td class="p-4 text-slate-600 align-top"><?php echo esc_html($row['arc']); ?></td>
|
|
<td class="p-4 text-slate-600 align-top"><?php echo esc_html($row['shad']); ?></td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- ماتریس امکانات -->
|
|
<section class="py-12 sm:py-16 bg-white border-b border-slate-100">
|
|
<div class="<?php echo esc_attr($wrap); ?>">
|
|
<h2 class="text-xl sm:text-2xl font-bold text-slate-800 mb-2 text-center lg:text-right"><?php esc_html_e('مقایسهٔ امکانات', 'hesabix2'); ?></h2>
|
|
<p class="text-slate-500 text-sm mb-8 text-center lg:text-right max-w-3xl lg:mr-0 mx-auto">
|
|
<?php esc_html_e('در شادمان تمرکز روی حسابداری است؛ در آرک همان حسابداری بههمراه بقیهٔ ماژولهای کسبوکار در یک پنل است.', 'hesabix2'); ?>
|
|
</p>
|
|
<div class="vc-table-wrap fp-versions-table overflow-x-auto rounded-2xl border border-light-200 shadow-sm">
|
|
<table class="vc-features-table w-full min-w-[36rem] text-sm text-right border-collapse bg-white">
|
|
<thead>
|
|
<tr class="bg-slate-50 border-b border-slate-200">
|
|
<th scope="col" class="p-4 font-semibold text-slate-600 text-right"><?php esc_html_e('قابلیت', 'hesabix2'); ?></th>
|
|
<th scope="col" class="p-4 font-semibold text-brand-600 text-center w-28"><?php esc_html_e('آرک', 'hesabix2'); ?></th>
|
|
<th scope="col" class="p-4 font-semibold text-slate-600 text-center w-28"><?php esc_html_e('شادمان', 'hesabix2'); ?></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($features as $feat) :
|
|
$arc_icon = $feat['arc_state'];
|
|
$shad_icon = $feat['shad_state'];
|
|
?>
|
|
<tr class="border-b border-slate-100 last:border-0 hover:bg-light-50/40">
|
|
<th scope="row" class="p-4 font-medium text-slate-800 text-right align-middle"><?php echo esc_html($feat['name']); ?></th>
|
|
<td class="p-4 text-center align-middle">
|
|
<span class="vc-state vc-state--<?php echo esc_attr($arc_icon); ?>" title="<?php echo esc_attr($feat['arc']); ?>">
|
|
<?php echo esc_html(hesabix2_version_state_label($arc_icon)); ?>
|
|
</span>
|
|
<span class="vc-state-desc block text-xs text-slate-500 mt-1 lg:hidden"><?php echo esc_html($feat['arc']); ?></span>
|
|
</td>
|
|
<td class="p-4 text-center align-middle">
|
|
<span class="vc-state vc-state--<?php echo esc_attr($shad_icon); ?>" title="<?php echo esc_attr($feat['shad']); ?>">
|
|
<?php echo esc_html(hesabix2_version_state_label($shad_icon)); ?>
|
|
</span>
|
|
<span class="vc-state-desc block text-xs text-slate-500 mt-1 lg:hidden"><?php echo esc_html($feat['shad']); ?></span>
|
|
</td>
|
|
</tr>
|
|
<?php endforeach; ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p class="text-slate-400 text-xs mt-4 text-center lg:text-right"><?php esc_html_e('برای جزئیات هر ماژول به صفحهٔ اصلی و مستندات مراجعه کنید.', 'hesabix2'); ?></p>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- برای چه کسی -->
|
|
<section class="py-12 sm:py-14 bg-light-50 border-b border-slate-100">
|
|
<div class="<?php echo esc_attr($wrap); ?>">
|
|
<div class="grid md:grid-cols-2 gap-6">
|
|
<div class="vc-card vc-card--arc rounded-2xl border-2 border-brand-400/40 bg-white p-6 sm:p-8 shadow-sm">
|
|
<span class="inline-block text-xs font-bold text-brand-600 bg-brand-500/10 px-3 py-1 rounded-lg mb-4"><?php esc_html_e('پیشنهاد ما', 'hesabix2'); ?></span>
|
|
<h3 class="text-lg font-bold text-slate-800 mb-3"><?php esc_html_e('آرک — برای شروع تازه و آینده', 'hesabix2'); ?></h3>
|
|
<ul class="text-slate-600 text-sm space-y-2 mb-6 list-none p-0 m-0">
|
|
<li><?php esc_html_e('نیاز به فروش، CRM، انبار، چت یا اتوماسیون دارید', 'hesabix2'); ?></li>
|
|
<li><?php esc_html_e('میخواهید همهچیز در یک پنل یکپارچه باشد', 'hesabix2'); ?></li>
|
|
<li><?php esc_html_e('کاربر جدید هستید یا آمادهٔ مهاجرت از شادمان', 'hesabix2'); ?></li>
|
|
</ul>
|
|
<a href="<?php echo esc_url($arc_url); ?>" target="_blank" rel="noopener noreferrer"<?php echo function_exists('hesabix2_entry_link_attrs') ? hesabix2_entry_link_attrs('arc', $arc_url) : ''; ?> class="inline-flex items-center justify-center w-full sm:w-auto min-h-[48px] px-6 py-3 rounded-xl font-bold text-white bg-accent-500 hover:bg-accent-400 transition shadow-sm"><?php esc_html_e('ثبتنام رایگان در آرک', 'hesabix2'); ?></a>
|
|
</div>
|
|
<div class="vc-card vc-card--shad rounded-2xl border border-slate-200 bg-white p-6 sm:p-8 shadow-sm">
|
|
<span class="inline-block text-xs font-bold text-slate-600 bg-slate-100 px-3 py-1 rounded-lg mb-4"><?php esc_html_e('فقط کاربران فعلی', 'hesabix2'); ?></span>
|
|
<h3 class="text-lg font-bold text-slate-800 mb-3"><?php esc_html_e('شادمان — فقط حسابداری', 'hesabix2'); ?></h3>
|
|
<ul class="text-slate-600 text-sm space-y-2 mb-6 list-none p-0 m-0">
|
|
<li><?php esc_html_e('همین حالا فقط به ماژول حسابداری نیاز دارید', 'hesabix2'); ?></li>
|
|
<li><?php esc_html_e('تا اطلاعرسانی مهاجرت، روی پنل فعلی میمانید', 'hesabix2'); ?></li>
|
|
<li><?php esc_html_e('بهروزرسانی جدید قابلیتی دریافت نمیکنید — فقط امنیتی', 'hesabix2'); ?></li>
|
|
</ul>
|
|
<a href="<?php echo esc_url($shad_url); ?>" target="_blank" rel="noopener noreferrer"<?php echo function_exists('hesabix2_entry_link_attrs') ? hesabix2_entry_link_attrs('shad', $shad_url) : ''; ?> class="hero-cta-legacy inline-flex items-center justify-center w-full sm:w-auto min-h-[48px] px-6 py-3 rounded-xl font-medium border-2 border-slate-400 text-slate-600 hover:bg-slate-50 transition"><?php esc_html_e('ورود به پنل شادمان', 'hesabix2'); ?></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="fp-final-cta" aria-labelledby="vc-final-cta-title">
|
|
<div class="fp-final-cta__bg" aria-hidden="true"></div>
|
|
<div class="fp-final-cta__inner <?php echo esc_attr($wrap); ?>">
|
|
<h2 id="vc-final-cta-title" class="fp-final-cta__title"><?php esc_html_e('سؤالی دارید؟ با تیم ما در تماس باشید', 'hesabix2'); ?></h2>
|
|
<p class="fp-final-cta__desc"><?php esc_html_e('برای مهاجرت از شادمان به آرک یا انتخاب نسخهٔ مناسب، پشتیبانی راهنمایی میکند.', 'hesabix2'); ?></p>
|
|
<div class="fp-final-cta__actions">
|
|
<a href="<?php echo esc_url($arc_url); ?>" target="_blank" rel="noopener noreferrer"<?php echo function_exists('hesabix2_entry_link_attrs') ? hesabix2_entry_link_attrs('arc', $arc_url) : ''; ?> class="fp-final-cta__btn-primary"><?php esc_html_e('شروع با آرک', 'hesabix2'); ?></a>
|
|
<a href="<?php echo esc_url(home_url('/contact/')); ?>" class="fp-final-cta__btn-secondary"><?php esc_html_e('تماس با پشتیبانی', 'hesabix2'); ?></a>
|
|
</div>
|
|
<p class="fp-final-cta__legacy mb-0">
|
|
<a href="<?php echo esc_url(home_url('/')); ?>"><?php esc_html_e('بازگشت به صفحهٔ اصلی', 'hesabix2'); ?></a>
|
|
</p>
|
|
</div>
|
|
</section>
|
|
|
|
<?php get_footer(); ?>
|